Authentication Via Different Servers
We have a web site where the user logs in and a session variable is set,
which allows access to all pages via an include at the top of every page (
if session("LoggedInOK")<>"Yes" etc)
We have some content on another unrelated server in a different domain that
we would like automatic access to, if the login is OK for site 1, without
re-entering a login. Even better would be if some other session variable
data could be transferred at the same time (like username). Navigation would
be via hyperlinks on site 1. Is there a simple way to do this? i.e. has this
wheel already been invented? (Encrypted querystrings? XMLHTTP?)
View Replies
ADVERTISEMENT
What type of servers allow you to use ASP pages? For example, PHP pages
can function in Apache.
Furthermore, what kind of servers allow you to operate ASP and Access
together?
View Replies
View Related
I have many servers which will be reghosted everyday with different OS
(Win2000, Win2003, WinXP...). How could I write the ASP code to get the
information of other servers' OS?
Let say the asp page is hosted on Server A, how can I check the OS version
of Server B and Server C?
View Replies
View Related
If my server runs on Linux and I want to use an ASP script and files on it. When I upload the files, wehn I go to the file directory and click on the file it asks me the same as what it asks me if I try to open it at home.How can I overcome this?
View Replies
View Related
I have built a site completely with ASP.I am searching for free web host which works with ASP.give me a list web links of fre asp hosters.and i have used drive letters to access my database, how can i remove those drive letters (ex. "c:m.mdb").
View Replies
View Related
I am currently wanting to move data from a host i have at the moment onto a different one, has anyone got a tutorial, where i can connect 1 mysql DB on 1 server (a host Company) to an different one.
View Replies
View Related
Can you use session variables between a HTTP server and a HTTPS server? I need to use data from a form from the HTTP on the HTTPS but it doesnt seem to be working? If I cant what is the best way do reuse form data?
View Replies
View Related
I have a need to have a web server (windows based) grab files each week from
a linux based server - hosted elsewhere. I cannot use UNC paths.
I want to have a script (.asp/asp.net) on the windows server that I would
provide a list of files to copy. The script would then copy the listed files.
The problem is that the using a filestream and copyto runs into an error
with URI paths.
This will be a substantial amount of data each week. I don't want to copy
it locally and then back up to the windows web server. I want/need the copy
to be directly between the two servers.
View Replies
View Related
Does anyone knows of a way to copy some file fro the server to another computer WITHOUT using ftp?
View Replies
View Related
Our website works correctly for 99.9% of customers, however we have one set
of customers who access our website from what appears to be a proxy server
of some kind. i.e. The IP address is always the same no matter where the
location of the computer is.
My site is a framed site, and the specific problem is that a list of links
in one frame will not load a page on another frame. I don't believe this is
a browser compatibily problem. (I wont rule it out though). But there are no
problems as far as I can tell on other peoples computers.
My question is....Is there anything special that needs to be done to make
sure a site works through proxy servers, or is this likly to be some other
problem such as an SSL problem (the whole site is under ssl), browser
incompatibility problem, or just downright dodgy programing on my behalf?
View Replies
View Related
Here's the question: Can you use request.form to retrieve variables and values from a form submitted on a foreign server using the post method?
My understanding was that request.form could only retrieve values from the same web server the form was submitted to, using the post method.
I have another web master telling me this is how you pass information securely between "alien" web servers (web servers on different domains, or belonging to different organizations). For the life of me, I can't figure out how this might be done--or what the mechanism is for fetching the correct values from a foreign server!
View Replies
View Related
In the following code when i = 500 the buffer on the server is flushed
to the client. However, because the content that is sent to the browser
contains an html table Internet Explorer does not display the table
until it receives the closing </table> tag.
The question is, am I
correct in saying that the buffer on the server is CLEARED when i =
500? It will be empty for a split second until the loop resumes again.
Am I correct? Code:
View Replies
View Related
At work we have 2 servers in a cluster for our web apps.One problem we have experienced (along with many others!) - is that if a user is logged into one of the applications on server a for example and it goes offline or fails their session is lost also - even though the application becomes available on server b.
I have heard that it is possible to either exchange the sessions between clustered servers or store them in a SQL Server database (probably preferred) so that we could then restore them if such a failure should occur.Can anyone shed any light on this for me? Or give me some URL's to check out and read.Sorry this isn't a 100% pure IIS question - its obviously partly ASP also.
View Replies
View Related
Let me explain how our web site in constructed before getting to my question. We have three web servers that are a mirror of each other. So whenever I make a change to one of our pages, I have to upload to all three servers. My new task (and its a good one) is to create an image upload script that will distribute the file to all three servers.
I already have an upload script that works just fine, however I wanted to see if anyone out there has attempted anything similar to this and what methods they used to achieve their goal.
View Replies
View Related
Does anyone know of any free POP3 email servers that would work with ASP pages?
I am running win2000 and have given up on getting my SMTP server to work.
View Replies
View Related
I have a .asp application lying out on a Windows 2000 server. The problem is it no longer is working. It seems that no .asp files will execute anylonger on this box. I even have a very basic .asp testfile that prints a line off text to the browser, but even these don't run. I got four errors in the event log for each failure. However, the browser displays this (with friendly error messages et to "off"):
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
The event log errors are :
A COM+ device failed to start
Did not register with DCOM within the timeout.
View Replies
View Related
I stumbled upon a site last night that said I can maintain a session variable between 2 servers.
I tried it out between 2 servers and it worked fine. However, I forgot the URL and have deleted the pages.... idiot!
Does anyone know what I am talking about, if so, please could you point me in the right direction.
View Replies
View Related
I am building an web application that will be hosted on load balanced servers
(multiple front and one backen db). The application will have to allow users
to upload files onto the server. For performance reasons, I do not want to
store binary files in the db (cuz there will be frequently retrieved and
stored and many will be within the range of 10 MB - powerpoint slides and pdf
files) so uploaded files will have to stay on the front end web server.
The problem with this approach is that there will have to be some mechanism that
replicates the files automatically among the front end servers. Can someone
shed some light on what the best apporach is to my problem? I am wondering
whether Windows 2000 has such service available to do file replication (if
so, how?)
View Replies
View Related
I'm trying to figure out a quick script that will let me link to a server share where the server could be 1 of a couple of different ones. The share will always be the same, but the server could be any of a list of maybe 5 or so choices as such:
server1share$
server2share$
server3share$
I'd basically like the script to check the different servers until it finds the one where the share exists, then redirect to it. The share will only exist on one server, but which one it is will change.
View Replies
View Related
how would an intranet user be nt authenticated using asp?
View Replies
View Related
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.
View Replies
View Related
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!
View Replies
View Related
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.
View Replies
View Related
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
View Replies
View Related
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? .....
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
I would like to be able to automatically authenticate a registration. Meaning:
A registration occurs
email is sent to registering party
Party clicks a link to authenticates.
or something to that effect.
Does anyone know where I can find something like this?
I would use a forum (i.e. webwiz, phpbb.....) the only problem is they are asking way too many questions for what I need.
I have built a database to hold the party's information, I have built an asp page with form that inputs the info I need into the DB, which all works, but now I would like to be sure that the person registering is a real person and it is a valid email address.
Any Ideas on how to get started?
View Replies
View Related
I'm facing a situation where my team leader wants me to create some ASP code that will pull the user's ID (which is no problem - request the LOGON_USER server variable) and THEN pull that user's NT Permissions to determine what kind of permissions the user will have when he/she comes onto the website. There is to be no logon screen at all. The permissions cannot be determined via a database or through cookies. Only NT Authentication can be used.
I have a small hunch that the HTTP_AUTHORIZATION server variable might provide a clue, but the value of that variable is a bunch of (encrypted?) gibberish that means nothing to me, except probably the NTLM part at the beginning. Is there a way to decode the value of that variable into something coherent that I can use in my code?
View Replies
View Related