Ask a Question related to ASP.NET Security, Design and Development.
-
Arvind P Rangan #1
WEB.CONFIG ISSUE
Hi ALL
I have all my root files under Forms Type Authentication mode and i have
another folder where in i need no permission or a direct access to that
folder.
So i did make some changes in WEb.Config.
I added the following at the end of WEB.Config.
<location path="ALL"> -- ALL is the folder name
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Few days back it worked now its diverting all the pages back to login.aspx
and as there is not login.aspx in that folder it raises error. ieok.
But, what is the reason that the security changed.
If am wrong kindly give me the way to make a folder in the wwwroot available
to all while the main folder is restricted.
Thanks
ARvind.
Arvind P Rangan Guest
-
Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now... -
Web References how to config to read URL from config?
It's great that VS.NET makes it so effortless to add a web reference to a web service. The problem is, I haven't figured out a way to configure the... -
web.config vs machine.config ?
1. I got this following error: ******************** Configuration Error Description: An error occurred during the processing of a... -
config file: a) what Module ? b) conditionals in config (for multiple hosts)
Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right... -
[RCR] Include CONFIG::Config['rubydocdir'] in rbconfig.rb
Hi folks, I apologise if people have read this RCR and are not interested, but this is what I consider to be an important RCR, not a merely... -
jib #2
Re: WEB.CONFIG ISSUE
Hi Arvind,
Did you happen to add something to your <authentication> method? E.g. look
for something similar to:
<authentication mode="Forms" >
<forms loginUrl="login.aspx" />
</authentication>
This would be responsible for redirecting your page to login.aspx. Also
keep in mind that the web.config pages are 'layered'. If you required
a login page somewhere on your site and have entered this in the top
web.config, you may need to install another web.config at a lower level
with the login directive removed.
Good luck
Jib
"Arvind P Rangan" <arvind99@hotmail.com> wrote in message
news:OajqxXh%23DHA.2524@TK2MSFTNGP11.phx.gbl...available> Hi ALL
> I have all my root files under Forms Type Authentication mode and i have
> another folder where in i need no permission or a direct access to that
> folder.
>
> So i did make some changes in WEb.Config.
> I added the following at the end of WEB.Config.
> <location path="ALL"> -- ALL is the folder name
> <system.web>
> <authorization>
> <allow users="*"/>
> </authorization>
> </system.web>
> </location>
>
> Few days back it worked now its diverting all the pages back to login.aspx
> and as there is not login.aspx in that folder it raises error. ieok.
>
> But, what is the reason that the security changed.
>
> If am wrong kindly give me the way to make a folder in the wwwroot> to all while the main folder is restricted.
>
> Thanks
>
> ARvind.
>
>
jib Guest



Reply With Quote

