<div dir="ltr"><div>Hi Jongdeog</div><div><br></div><div>First of all, any NDN application, including ndnping, has a "producer and consumer model". I guess you mean "server and client model". The client can download from the server, and can upload to the server. During the upload, the client would act as a producer while the server acts as a consumer.</div><div><br></div><div>In web technology, "log-in" means session management. A Windows 7 era example: Alice wants to access her Hotmail mailbox. She visits <a href="http://hotmail.com">hotmail.com</a>, which redirects her to Windows Live ID sign-in page. Over there, she either types her username and password, or selects a smartcard via Windows CardSpace. Windows Live ID issues a token (as a browser cookie) to Alice, which is accepted by <a href="http://hotmail.com">hotmail.com</a> and Alice is able to access her mailbox. When she finishes, pressing sign-out revokes the token so that nobody else can use it.</div><div><br></div><div><div><div>The session token / session cookie in web technology is equivalent to certificate in NDN.</div></div>The NDN equivalent of the above, assuming using smartcard, is: Alice issues a certificate for her Hotmail session and have it signed by her smartcard, she can then access Hotmail with this certificate. Session ends when the certificate expires.</div><div>The case with username+password is more complicated in NDN, but still doable: Alice generates a key pair, and sends a certificate request along with the username+password to Windows Live ID sign-in service (the message is encrypted by Windows Live ID site's public key). After obtaining a certificate from Windows Live ID, Alice can issue herself a Hotmail session certificate.</div><div><br></div><div>Yours, Junxiao<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 3:56 PM, Lee, Jongdeog <span dir="ltr"><<a href="mailto:jlee700@illinois.edu" target="_blank">jlee700@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">




<div>
<div style="color:rgb(0,0,0);font-family:tahoma;font-size:10pt;direction:ltr">Dear all,<br>
<div><br>
  Hope all of you are doing fine. I have a question regarding NDN log-in mechanism.<br>
 <br>
  Given that we have producer and consumer model, what would be a secure (possibly standard) log-in mechanism? Or there is no such thing in NDN world by assuming that all producer and consumer have public-private key pairs?<br>
<br>
Best wishes,<br>
<div style="font-family:tahoma;font-size:13px">
<div style="font-family:tahoma;font-size:13px">
<div>Jongdeog Lee (JD)</div>
</div></div></div></div></div><br>
<br></blockquote></div><br></div></div>