473,395 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Deny Domain Access

I have a current requirement to deny access to a particular website from a
list of domains. I can add these domains to a deny list in IIS, however that
doesn't give me the ability detect these domains and then redirect users to
specific deny pages based on the domains to which they are members.

I can include a function on all of my webpages to detect the various domains
and redirect users, however this would be a very tedious process since I
would have to include this domain validation function on all pages.

I need to find a better more efficient way of doing this, so any suggestions
are welcome...
Jul 19 '05 #1
2 1477
There are softwares that you can install in IIS that does the trick, but
there's nothing wrong to include a file in every page, where you can
validate domains, users etc. But that on the other hand requiers a domain
search. That can be done, but requiers a little more coding, and to find a
stable domain search site, and do a domain lockup for every page shown.
That's not so good.

Sven

"Galahad" <Ga*****@discussions.microsoft.com> skrev i meddelandet
news:C0**********************************@microsof t.com...
I have a current requirement to deny access to a particular website from a
list of domains. I can add these domains to a deny list in IIS, however
that
doesn't give me the ability detect these domains and then redirect users
to
specific deny pages based on the domains to which they are members.

I can include a function on all of my webpages to detect the various
domains
and redirect users, however this would be a very tedious process since I
would have to include this domain validation function on all pages.

I need to find a better more efficient way of doing this, so any
suggestions
are welcome...

Jul 19 '05 #2
On Mon, 18 Oct 2004 08:01:03 -0700, "Galahad"
<Ga*****@discussions.microsoft.com> wrote:
I have a current requirement to deny access to a particular website from a
list of domains. I can add these domains to a deny list in IIS, however that
doesn't give me the ability detect these domains and then redirect users to
specific deny pages based on the domains to which they are members.

I can include a function on all of my webpages to detect the various domains
and redirect users, however this would be a very tedious process since I
would have to include this domain validation function on all pages.

I need to find a better more efficient way of doing this, so any suggestions
are welcome...


Without writing an ISAPI filter for this, you would need to validate
on each page that could be accessed, meaning an include in your case.
An alternative would be a custom error page that redirects based on
referrer, using a 403 error (403.8?) when the access is denied.
Google for custom IIS error pages for docs on doing this.

Jeff
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Carlos Marangon | last post by:
hello! Can anyone please tell me where can I find a script that deny access if password is wrong 3 times CM
2
by: spike | last post by:
I tried to upload a .htaccess-file to the directory that i wanted to protect. This is what I wrote in it: ------------------------------------------------ <Limit GET> order deny,allow deny from...
4
by: \Rob\ | last post by:
On a domain controller, the ASPNET (v1.1) worker process (aspnet.wp.exe) runs under the IWAM_machinename acount (IIS 5). I have expressly denied this user the logon locally right in the domain...
4
by: Dan | last post by:
hi ng. i have a strange behaviour when i want to control who can access a web application by setting web.config like: <authorization> <allow users="DOMAIN\ACCOUNT,..." /> <deny users="*" /> ...
7
by: Brian Linden | last post by:
I have a web application using forms authentication and everything seemed to be working fine, as far as requiring them to login. But then I noticed that you could type in:...
9
by: Matt | last post by:
Hello, I'm working on a portal based on IBuySpy, where the main page is desktopdefault.aspx and all content is stored in www.domain.com/content/html/nnn or www.domain.com/content/images/nnn and...
5
by: profdotnet | last post by:
Below is the code of web.config file: <configuration> <system.web> <authentication mode="Forms" /> <authorization> <allow users="Admin"/> <deny users="Jack,Mary" /> <deny users="?">...
2
by: Markus Palme | last post by:
Hi NG! Is it possible to deny access to a (logged in) user that is not in any role? Placeholders like <deny roles="?"/don't seem to be possible. Regards Markus <location...
0
by: Douglas J. Badin | last post by:
Hi, The problem with Authorization is it stops at the first match and doesn't permit Grouping. On the Web Site, I am trying to Secure Page Access and SiteNaviagation by implementing the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.