how I create a login page which authenticates users against the servers user manager. I want the login to be a form in my website not a pop up window. I am currently running IIS 5 on a windows 2000 member server.
I have an ASP page that uses a COM componenemt on a Win2000 server. The same server contains my SQL Server 2000, which the COM object is querying on. I use a constant login/password to login into the SQL Server, so it shouldn't matter which domain user is using the page.
It works fine for every user -=that is defined in the Win2000 computer Admins list=- , it doesn't work at all for users that are not (Connection ailure)....
I am not sure why, since how I see it, it shouldn't matter to the SQL Server which user is trying to login (since I use the same constant user/password for all of them...).
It might be either an IIS or SQL Server problem (or maybe even Win2000 related), Anyone ever encountered such an issue
I want to be able to log in a database any transactions my users perform. For example logging in, requesting a page, downloading a resource, logging out etc.
What is the most practical way to code this? I was thinking of trying to use an include file which would have a function to add a log in the database for each page on the site or when a particular action is performed.
i want users to login to my web application using SQL authentication i.e whenever the page opens, it should display the SQL server login window. i know Login feature is in dreamweaver MX that i use, but unathurized users can lookup the password in your database.
Is it possible to authenticate a user who is trying to access a certain Div on a page??? I know how to authenticate a user accessing a standard ASP page, but is this possible with a Div!
I have a page that authenticates users by reading Request.ServerVariables("AUTH_USER") and Request.ServerVariables("AUTH_TYPE"). When users try to access this page from windows NT/2000, it works fine (prompts them for their credentials when they're not on the same domain, and then lets them in). Now, some of the users got XP boxes, and can't get in to the page. It prompts them for their credentials but when they enter them, just keeps prompting them. The credentials they are entering are correct. What is different on XP that is causing this problem and is there any setting I can modify on the server side to prevent this from happening.
I have an asp page on IIS 5.0 and I''m trying to get a dialog box to pop up and ask for username password and domain to authenticate against NT. I have anonymous logins unchecked in the IIS properties page and access restricted on everything but it won''t ask for a username and password no matter what
I had to transfer an ASP Web Application (developed by another person) to a different web server. It seems to work but not completely.
I have some problems with authentication: it is based on a username and a password stored in a SQL Server's table. These data are requested via basic authentication (not a IIS level but I think it is used to create the authentication window in which put username and password). The problem is that it doesn't accept username and password and, after three times, it redirect me to a page telling "You don't have rights to see this page". What could I do? .....
I have no problems authenticating via AD and an ASP page. My question is this - is there any way to 'reverse' the process?
What I mean is the authenticated state remains as long as the browser window is open. Is there any .asp command I can provide that will revert the browser session back to IUSR?
I have an intranet asp application that sends emails that contain a link to an intranet page.I have a case where one user is forced to login to the windows domain when he clicks on the link,even though he is within the firewall & his Outlook security settings specify automatic login with the current name & password.
This doesn't happen with any other users unless they go through the firewall.The site is also recorded in the trusted sites section.
I'm developing an Internet site that is going to be password protected. I have one windows 2000 domain on the Internet side of things, and another on an Intranet side. Is there any way to authenticate a user that hits my Internet pages against the Intranet user database?
I just want users from the Intranet to automatically be able to access the Internet pages without having to create a separate user on the Internet-side domain.
I have written a simple login script that checks a username/password from an Access database. the login.asp page sets a session("loggedin") at zero. The username and password are checked successfully and the user is redirected to admin.asp. The admin.asp page has an if-statement at the top that checks the session variable to 1, which is set after successful dB check.
The problem is that if you go directly to admin.asp without going through the login process, that is, without ever going to the login page.... simple typing something like http://localhost/admin.asp . you are given access to the page and not redirected back to the login page. What could I have missed? It simply checks the session variable....that should never be set to one when all sessions are reset...and the user can still gain access?
I am attempting to access WMI data on a remote machine. I have been able to get this to work, but there has got to be a better way, I hope.
set wmiLocator = CreateObject("WbemScripting.SWbemLocator") Set WMIServices = GetObject("winmgmts://" & cn & "") Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator") WMIServices.Security_.ImpersonationLevel = 3
Then in my IIS snapin, Directory Security, and then Edit. I have this set Anon Access with my username and password as well as Windows Integrated Authentication checked. It does the job, I can pull the data, but it poses a security risk. I don't want to have my password and username as the authentication options.
I'm using legacy ASP pages on IIS 6.0 to validate users through ADO Active Directory objects (AdsObject & AdsCommand).
When I use the page from the server itself with "localhost"/page as servername, it executes fine. But if I call the site with "servername"/page, the exection fails. AdsObject throws "Table does not exists" errors.
Currently, the server is configured with Integrated Windows authentication. I tried changing to Anonymous authentication with IUSR_machninename user. Again it fails.
How do we have a track of users who have logged in? I want to have a table of record with usernames and the status(logged in or logged out).
Whenever the user logs in, the status shud indicate he is logged in and when he logs out the status shud change accordingly. Does anybody know how to do this???
I am using asp codes to connect to my access database. But i have a query in mind. Will my database still work if more than 1 user is logon to edit the database records?
is this a permissions issue that happened at the server side When I go to one of the .asp pages it brings up the "malicious code" prompt,asking whether I should open or save the file. How do I make it so it just executes the file?
My database tables uses two users, namely dbo. and viss. so in sql server 2005, every table has the following name structure:
dbo.members viss.customers etc
In source code, sql queries are used without adding usernames. Like,
INSERT INTO members UPDATE customers
Now I get sql erros as 'invalid tablename members' to solve this I add username to query, like dbo.members. That would solve the problem, but is there an easier way to solve this? Because I'm working with a complicated application and it has allot of files, adjusting each query is an option but any other solution? Code:
I have a database that is setup with a messages table... I have been asked to modify the following script to do the following...
Message ALL Users or Message All Admins or Message Individual Users (with the option to select multiple users - such as 2 or 3) or Message Individual Admins...
The Database is designed with a User table and each user is assigned a "Type" such as "admin" or "user" - can anyone look at the following and give me an idea how to implement this function?
It needs to be setup where the admins and users are seperated so its ok to have two Options boxes that display a users section and a admin section..
I have an intranet which all staff have access to. All staff can log in to the intranet to amend their own personal info. Currently staff have seperate passwords for logging on to their machines (ie ACL on network server) and logging on to the intranet.
Is it possible to have someone automatically logged in to the intranet based on their windows username and password for the domain?
Just wondering if anyone else has tried this. I think I saw this as an option in ASP.NET but my intranet is built using ASP.
I want to create a page in ASP language which gives me information about currently logged users. I thought to do it by this way: when somebody will log in to page, there will be a value of this user id stored in the table among the other fields in the form which are filling in. After clicking on the button "Log off" the value of the user id will be deleted from the MS SQL Server 2000 database. I would do it, but I don`t know how to solve the problem when somebody will close the Internet Explorer window by clicking "x". Then the procedure of deleting a value of user id will not call, and this value will be still stored in the database, so I will not have actual state of currently logged users.Maybe there is another possiblity to do it?
I need to display information a list of Active users on a web site.I can do the count using the global.asa but need to display individual information about each "active user" without writing it all to a database and then pulling it out again.Info I need :
IP Address - Request.ServerVariables("REMOTE_HOST") The page they are on - Request.ServerVariables("SCRIPT_NAME") the page they were on - Request.ServerVariables("HTTP_REFERER")
Can I write this stuff into sessions and call them all out?
I need to authenticate users to enter in a NTLM-protected virtual directory,but I can't pop up a NT-login dialogue box - I can only do a web-based username/password form (my client is a "usability" firm!). After searchingand searching, I finally found up with this solution to use ADSI to authenticate users transparently:
http://www.eggheadcafe.com/articles/20010126.asp
I tried the script and I am able to authenticate that the user exists with the correct password, but when I redirect the user to the virtual directory,the popup box is still popping up! I think what is happening is that I am not actually passing the username/password to the NT server.
Is anybody familiar with using ADSI for NT log in's?Am I on the righttrack?And if so, how do I actually do this so that the NT login boxdoesn't pop up?
I am trying to create a website for students where they have to log in before they can access any of the materials on the site. Therefore the login will be done on the homepage. Providing log in is successful, I then want to be able to track which student downloads which materials. I know how to deal with the login code but am not sure when I create the session variables to track the users. Is this done on the following page? Also do I need to use the global.asa file?
does the session on start event happen the minute the student arrives at the homepage or can I tell it to start once the students have logged in? any advice will be gladly received.
i would like to automitically log when a user signs in, presumably using a seperate Access database. Can anyone point to to a simple way of accomplishing this?
We have an extranet located on one server that users access via a redirect on a URL. To access the extranet, they click on a link and have to enter their windows network logon details.
They then access the extranet which is based on Microsoft Sharepoint Services. I have written customised ASP pages, located on a second server on the same network, but want to use the same windows logon details.