|
by: Wzaq |
last post by:
Dear Expert,
I want to use window authentication in my asp page. This code allow me to do that but i just need a few user in the server can access this page. Isn't I need to configure at IIS?.
<%
If Request("REMOTE_USER") = "" Then
Response.Status = "401 Unauthorized"
elseif request("REMOTE_USER") <> "" then
response.write Request.Servervariables("REMOTE_USER")
username = Request.Servervariables("REMOTE_USER")...
|
by: BGuy |
last post by:
When I am attempting to connect to SQL Server 2000 on my local server, I get the following error:
"Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection"
My connection string is as follows:
string strCnn = "server=fredflintstone;uid=sa;pwd='';database=DBPass"
For my SQL Server account I am using Local Windows Authentication, so I don't have a password. I also tried using server=local as well as...
|
by: Steve - DND |
last post by:
I have the following information set in my web.config file:
<authentication mode="Forms">
<forms loginUrl="Login.aspx" name="formAuthCookie" timeout="60" path="/"/>
</authentication>
<authorization>
<deny users="?"/>
<allow users="*" />
</authorization>
|
by: Reza |
last post by:
Trying this again
Here is the situation, I am using the
<authentication mode="Windows" /
for webforms not windows, but I don't want to specify the list of users in the web.config, but have the list in DB that I can modify with code.
Is this possible to do? If so, how do I get the IIS authentication to read my list, which will be stored in DB, and not look in web.config for it
Thanks
Rez
|
by: howard dierking |
last post by:
Hi,
I am using local windows groups as roles in an asp.net application. In my
web.config file, I have the following:
<authentication mode="Windows" />
<authorization>
<allow roles="localmachinename\OOK_CDD" />
<deny users="*" />
</authorization>
|
|
by: pv |
last post by:
Hi everyone,
I need help with following scenario, please:
Users are accessing same web server from intranet (users previously
authenticated in Active Dir) and from extranet (common public users). If
user is from intranet, web server should recognize it and application should
create additional options in controls regarding groups the user belongs to.
If user is from extranet it should be logged in as anonymous and a link to
login page...
|
by: JonnyD |
last post by:
I am working on a project to build a reporting web app from an exsiting
database that is controled by a local application. The application that
has control over the database creates a lock file to the database and
at that point I can no longer access the database with my web app. Is
there anyway around this? All I need is read only access to the
database to get some report information to display on the web page.
The error I get on the...
|
by: ABCL |
last post by:
Hi All,
Can any one tell me that what is the difference between Network
Service, Local Service and Local System ACcount for window services
ABCL
|
by: SpaceMarine |
last post by:
sorry for the near-dupe post (also in .security), but im desperately
trying to find an answer to this...
i am attempting to configure security for an intranet web application
in ASP.NET 2. it uses Windows authentication, retrieving roles from
our Active Directory. nothing too unusual.
what is unusual: it works for users that are VPN'ing into our network
from the outside (using cisco vpn), but DOESNT work for normal desktop
users in...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|