470,811 Members | 1,294 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

Bypass Integrated Windows Authentication


I recently installed CRM 3.0 and need to do some further customizations programatically. I want to write a page that would accept data via a query string and submit the data into the CRM database.

As there's Integrated Windows Authentication set on the root directory, any new files I try to access via the web requires me to log in. However, if I create a simple .htm file and set the authentication to "Enable anonymous access" only I can access that file directly without having to enter log in details.

I tried to do the same with a simple .aspx and .asp file but both files required login details even though the "Enable anonymous access" was only ticked.

Does anybody know a way I can around this, whether by code or by altering the IIS settings, which in this case I will post in the correct forum.

Many thanks

Nov 29 '07 #1
1 2584
7,872 Expert 4TB
In the web.config file you can set up different files to use different permisions (windows auth, none, etc).
If you look up these tags with respect to the web.config file:

and probably most importantly <location>

Of course if you wanted ALL files to be allowed without requiring a login you would do something like this in the web.confg:
Expand|Select|Wrap|Line Numbers
  1. <authentication mode="None">
  2. </authentication>
  3. <authorization>
  4.    <allow users="*"/>
  5. </authorization>
Nov 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Tom B | last post: by
3 posts views Thread by Patrick.O.Ige | last post: by
2 posts views Thread by Amedee Van Gasse | last post: by
3 posts views Thread by =?Utf-8?B?RGFuZGFuIFpoYW5n?= | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.