Re: Two Authentication

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Saravana (saravank_at_sct.co.in)
Date: 01/06/05


Date: Thu, 06 Jan 2005 08:19:26 GMT

If you dont want to protect certain folder in your application by forms
authentication, you can specify that in location tag in web.config file. For
example,

<configuration>
<location path="Folder2">
<system.web>
    <authorization>
        <deny users="?" />
        </authorization>
</system.web>
</location>

for more details, refer this article
http://www.dotnetbips.com/displayarticle.aspx?id=117

-- 
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"Boozer" <Boozer@discussions.microsoft.com> wrote in message
news:3AEA3C47-2CBB-4FD2-AD09-2E033A635EC2@microsoft.com...
> I have a portion of an application that needs to be protected by forms
> authentication and another portion that does not.  I have created a
subfolder
> and put different web.config files in each.  That all works fine.  The
only
> problem is that the code-behind forms can't find the project dll.  If I
copy
> the dll into a bin folder in the subfolder it works fine.  How do I get
the
> forms to look in the main application bin folder for the dll?


Relevant Pages

  • Re: How protect non aspx files using Forms Authentication?
    ... >Using Forms Authentication, users can't get to my .aspx pages but they can ... >What setting can I use to protect ALL files within my app from hackers until ... folder and allow only logged on users to access that folder. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: PHP-.htaccess-CGI
    ... > link to a lot of CGI programs in a folder with protected-access ... > kind of authentication. ... you can password protect CGI files the very same way you protect any other ...
    (comp.lang.php)
  • Re: Password protected html files
    ... redirected to the login page set in forms authentication even when I accessed ... He will create html files, ... html pages are dumped to the folder. ... to protect access to some HTML files in your website, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Password Protect a webpage
    ... supporting images to the public_html folder. ... files available to members and their description. ... will be able to download the file. ... protect, to that protected subfolder is the most "logical" solution to ...
    (microsoft.public.publisher.webdesign)
  • Re: Password Protect a webpage
    ... supporting images to the public_html folder. ... the files available to members and their description. ... will be able to download the file. ... to protect, to that protected subfolder is the most "logical" solution ...
    (microsoft.public.publisher.webdesign)