Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 18, 2012 02:41 PM by Alex_808
Dec 17, 2012 10:52 PM|LINK
I have a folder with photos and videos on a server and on that folder I prevented anonymous access and turned on Integrated windows authentication. Now I have been looking for a way for my web app to access files in that folder by passing the crendentials
in the code behind without prompting the username/password dialog box to the user. In other words if i try to directly access a file in that folder throught the browser I will get prompted to enter my crendentials but if i go throught my webapp the webapp
will pass the crendentials in the code behind...
Been looking for a solution help much appreciated..
Dec 18, 2012 06:27 AM|LINK
I think giving access to Group "AUTHORITY\AUTHENTICATED USERS" to that specic folder will solve your problem[in security tab of folder properties], for the authenticated domain users, but not for anonymous.
if you wanna acheive this with your code for everyone, please refer.
Dec 18, 2012 02:41 PM|LINK
Hello I added this line to my web.config
<identity impersonate="true" userName="domain\username" password=" password"/>
While oubviously adding to username and password.. But when my webapp accesses that secured folder the user still gets prompted to enter there crendentials
Help is much appreciated