I am trying to integrate an application into our extranets.The extranet technology has its own authentication system requiring a domain user but uses anonymous authentication (from the perspective of IIS).I can get the username/password, but IIS is not aware of the user.
The application I am trying to integrate (to get the features I want) relies on either basic or NTLM authentication. The sites use SSL, so basic authentication is fine. Both applications live on the same server.I want to automatically authenticate the user in the second app. Any ideas?I have a few, but I don't know how to implement them.
One idea is to find a way to forward/redirect the basic authentication information to the secondary application. This would be easier (and less secure) if IE6 still supported the "http://user:pwd@server/" syntax.I could construct the authorization request-header myself on the server, but how would I convince browsers to send it?It should work with recent IE and NS browsers.
Using Windows Authorization I get the exception below: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
I have an asp page with just Integrated Windows authentication set. It works fine if it is accessed with just the server name, but it prompts the user to enter their credentials if it is accessed with the full domain name.
Any suggestions on how to eliminate the login box? ( Without allowing anonymous access...)
I'm working on an e-commerce website, using ASP and MS Access. The idea is that the user should register their FirstName, LastName, Email, Username and Password via an html form. This should be submitted to an ASP script which sends an auto responder email to the address submited in the form. The account should then be dumped in to the Access database, and the user should activate their account by clicking a link in the email.
I've got as far as sending the email when the user clicks the submit button on the form, but I'm very confused about how the link is sent in the email. I've been told that a random number generator should be used. I've been searching, but I can't find exactly what I'm looking for.
in our company we use NT domain with NTLM. i have an asp login page for an app that will work in our intranet. but i couldn't find any resource for checking the username and password given in textboxes exists in domain or not.
i want to implement authorization with windows authentication and don't have the slightest clue of how to do this implementation. the basic windows authentication for this .NET application is already setup. my problem lies within my inability to manipulate the username captured in the authentication process and my knowledge of how IIS is involved.
specifically, i have the following questions:
1) what object(s) can be used so that the user's username can be manipulated for the authorization process?
2) in order to apply roles, do the users need to be placed in groups in IIS? if so, how does this work?
3) is all the code that the application uses for roles in web.config? or does global.asax play a role in this matter?
4) does the web.config file know to communicate with IIS because the authorization type is set to windows?
5) once authorization is in place, can a section of an .aspx file be visible to a group or can only entire files be secured for a group?
A client wants a splash page with the option of going to his website with the flash header or the one with the .JPG header.
Now it's only the header that will be different and all the content will be the same. I don't want to make two seperate websites, because I'll have to update it twice then. Is there a way to just have the header change, without using frames. Maybe SSI,
Why does the error below occur whenever the statement Request.BinaryRead Request.TotalBytes) is executed for uploads larger than 100K? I thought the 100K limit applied only to Request.Form. This does not occur with smaller uploads. This is running on an IIS 6 server with full FP2002 extensions.
I have multiple asp files which used CDONTS. As we are switching over to CDOSYS these files need to be updated. Is there a way that the cdo commands can be called from one general area, rather then have to modify each file?
i have table which is generated from the database, and is beeing displayed on my website...How can i make the header row static???? so i can still see the header row while scrolling thru the data
my logout link is placed at the top right corner of the page to put it there i used the below code
<p><font face="Times New Roman"><a href="AdminMenu.asp">Go Back to Main Menu</a></font></p>
the thing is i am getting http header error coz i put this code above the asp code
now how to add some attributes to the code so that i can place it below the asp code but when i open the page i need it to be visible at the same place as before
if i use the:
<p><font face="Times New Roman"><a href="AdminMenu.asp">Go Back to Main Menu</a></font></p>
as it is and place it after the aspcode then i am seeing the login link after the response.write's strings.
I have a web page hosted by server1. I need to add a link to a web page hosted by server2. This part is simple. However, I also need to give the linked web page the user id for the user that was validated in server1 (it's in a session variable).
At first, I thought the following would work: mywebpageonserver1.asp: Response.AddHeader "MYUSERID", "whatever" Response.Redirect "http://server2/mywebpageonserver2.asp"
I am trying to set the content type and header for the response object but for some reason it doesnt set it. I tried it on dev and it worked fine but didnot on production. The difference is that dev is http and production is https. Is there any difference in setting the header and content type when doing so a http and when on a https server.
I would like to have header.asp to be usable from all directories. Header.asp will have images and URLs. When I try to #include the file in test.asp, it works fine. However, if I #include it in testpage.asp, the images in header do not work - testpage.asp thinks the images are in subDir, when they are in the images directory. I have tried a variety of combinations of MapPath, Server.Execute, but I have not gotten the image to appear correctly. What is the correct syntax for what I am trying to accomplish?
If I want to have a username/password dialog in my page,how can I add http header in ASP for username/password dialog? I want to hardcode the username/password in my page and check the authentication.
I believe someone is using my contact form and sending out spam. I'm getting thousands of undeliverable emails.
I don't know anything about asp. Someone who use to work here wrote the form processing script and it seems that all the forms on different domains are being processed by this script. It seems like they didn't do any sort of validation or checks and on one website there are hundreds of pages with the contact form, i could do it in php but that is way too much work.....
This is more of a flash recommendation question than ASP related, but I use this forum a lot, so wanted to see if anyone can answer.My page header is flash. One the header is flash. It's about 500KB.Do you recommend keeping flash in the header so it loads on each page, or creating a second image to replace the header on all thesecondary pages.
If someone views the flash header once, do they download it each time for each page, or does it cache?My point is that I do not want to kill my bandwidth.
I have created a header file that has some hyperlinks, I want to enable the hyperlinks depending on the situation for eg: the header has link1, link2, link3 and they correspond to page1, page2, page3. suppose I am on page1, I want to disable link1.... and so on.
I know this is client side but this is coming from an asp page. Is there a way to lock two rows on a table so that when a user scrolls down a long table they always see the header row? Without using frames.
I need to add a custom header & footer to the excel report on generation. Is there a way to do this from the web without installing Excel on the webserver?
I am trying to print HTML page from Internet explorer. In default IE prints header and footer when you print HTML page, I just want to disable those header and footer while printing my page...not permanently.