Survey Forums

HomeHomeSurvey Project ...Survey Project ...GeneralGeneralASP.NET Security ContextASP.NET Security Context
Previous
 
Next
New Post
9/22/2011 10:01 PM
 

Hello,

Do you have any documentation on how to use ASP.net Security Context "add in"?  How does it work?  I'm interested in using windows authentication.

 

Thanks,

 
New Post
9/23/2011 7:11 PM
 

Hello,

As I answered by separate mail for Window Authentication - you should be able to use it. Check these links:

http://msdn.microsoft.com/en-us/library/ms972109.aspx
http://msdn.microsoft.com/en-us/library/ff647405.aspx
http://support.microsoft.com/kb/301240

Settings need be changed in the web.config file at:

<!-- Forms or Windows authentication -->
<authentication mode="Forms">
<forms name="NSurveyWebAuth"
loginUrl="~/NSurveyAdmin/login.aspx" protection="None" timeout="60"></forms>
</authentication>

<!--
<identity impersonate="true"/>
<authentication mode="Windows">
</authentication>
-->

The Asp.net Security Context add in in the Survey tool is something different from making use of windows authentication.
What is does basically is to make use of a combination of the Windows/ IIS/ ASP security (technically speaking throught the Httpcontext.User.Identity.Name object) and the Survey User registration.

It forces a user to login to the Survey application with a Survey account to take a survey. Once logged in with the appropriate rights and the survey assigned the Survey can be answered. On finishing and submitting the survey the user/ voter data are registered and shown in detail on the voterreport with these fields:

User name :    
Userid
First name :    
Last name :    
Email :    
Administrator :     yes /no
Assign all surveys : yes/no
etc.

In case of Windows Authentication it would show different user/voter information. Just try and experiment for yourself and see what the effects will be.




 

 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...GeneralGeneralASP.NET Security ContextASP.NET Security Context