I'm designing a Form Authentication to authenticate users in IIS in order to
redirect them, already authenticated, to their webdav folders.
This should work like this:
IIS AuthApp ---> Check Login and Impersonate -------> IIS WebDav
after 3 days using code from MSDN Network, I can't seem to find out why it
has throws an "Impersonation Failed" exception when credentials are correct.
If i miswrite a password it gives a Username / password invalid, if it is
correct, bam! an exception hitting me right in between the eyes...
i design form to take input from user(username,password). How do i autheticate if the user is Windows Domain user and once it has authenticated successfully, how do i forward to the success page.
So I spent the 4 hours on friday digging through the trenches of google only to find myself here and crying. I am a PHP programmer that got stuck on an ASP project (havent touched ASP in nearly 4 years).
I need to authenticate against active directory, pass the credentials on to a perl script, and then pass that on to Postini. In essence forcing them to login against Active directory to access their junk mail.
Where do I start, where do I finish, I have tried several different routes and every route is going to cost us more then we are willing to spend.
Our site currently authenticates people using a php page on our IIS 6 site. Basically this page takes their login information (user name and password) to see if they are in our Active Directory. Most of the current pages use php. We are building a couple aspx pages using .net 3.5 that we can host on the same server. I want to use the forms authentication ticket from the php login to authenticate the user for our application.
In addition, our application uses role based security that is specific to our application. The first time the authenticated user accesses our application, I want to find the roles they have in our application and append that information to the forms authentication ticket. Is that do-able?
I've developed some components which can create user accounts on the web server. The asp files resided on the server will call these components to do the job BUT the "aspnet" (asp.net worker process account) doesn't have enough privilege to do so... (as the components are called in the context of this "low privilege" account).
I understand that .Net framework has something alled "impersonation" which can run the worker process in the context of some "higher" account (in this case, accounts under administrators group). The problem seems to be solved with this approach but now the problem is that the "impersonated" account, which is the "admin" account's name and password, is stored in "cleartext" in the web.config file which imposes serious security issue.
A solution solving this is to store the username and password in the registry and encrypt them... however, the debugger returns error that the "password" entry cannot be read from the registry.even I did give the permission "read" to the worker process... so how can this be resolved? Or is this the right way to do this kind of job?
I've two Win2000 Advanced Server (ServerA and ServerB) both part of an Active Directory. The Active Directory Server is named ServerC.
On ServerA I've published an asp page PageA.asp inside a virtual directory VirtuaA. On ServerB I've published an asp page PageB.asp inside a virtual directory VirtuaB.
Inside both server I've installed Microsoft XML Parser 4.0 sp2
Both virtual directories have setted Windows Integrated Authentication.
PageA.asp has to get PageB.asp using ServerXmlHttp object and to show its contents.
When I try to get PageA.asp from any client part of the same active directory I obtain an error: I'm not authorized to get PageB.asp.
I've tried to use every solution founded on previous posts:
- proxycfg -d -p " " "*" on ServerA
- flag "trust for delegation" on Active Directory Control Panel of ServerC
- ASP instruction .setProxy 2, " ", "*" inside PageA.asp
I am unable to create object of ("Lotus.NotesSession") from ASP page.I am getting OutOfMemory error.
If i do same thing from ASP.Net and add <identity tag in web.config file with My Network Logon Id and password it works fine. So i want to know How to implement this impersonation in ASP.
We have two sites hosted on different servers and we have many pages on domain A which has many links(asp programs) to domain B.
My question is if domain B server is in trouble, what is the best way to have all domain pages redirect to domain A? Right now I just have redirect code in each program on domain B to redirect to a maintenance page on domain A.
I'm having a domain change foisted upon me and the test I did resulted in every last ASP and ASP.Net script stopping cold. Nothing but plain old html worked. Is there a FAQ or some other document available that outlines what has to be done when the IIS server machine is disconnected from one domain controller and reconnected to a totally different one? If not, does anyone here know what would have to be changed to make the ASP code play nice in the new domain?A relevant bit of info, they're also changing the name of the administrator account. I don't know if that would contribute to the death of ASP* on the system, but it might.
I have a swf file in one domain and an ASP file in another domain; the swf doesn't not receive the variables form the ASP, how can solve the problem with crossdomain policy?
Using classic ASP I want to check if a username and password are correct before passing the details on to an object (stocktake module) that uses them to authenticate the object. The object defaults to a preset user if the authentication fails and doesn't warn the user, so I wanted to do the check manually before passing it to the object.
Can anyone tell me how to get ASP to work on a Server 2003 domain controller?I keep getting 10004 errors in the system log.I've tried resynching passwords etc.
I have made a mail script to executed whilst on domain (say mydomain.com). It can email fine to any address except those that end in '@mydomain.com'.Anyone know why?I'm sending it from 'info@mydomain.com' to 'info@mydomain.com'.
I want to build a domein name checker using ASP & Vbscript but I don't have a clue how to start or what I need to do precisely.
An example of the checker can be found at. http://www.denit.net/ it's called an domeinnaam check an can be found at the middel of the right side of the page.
Are there any articles / resources out there about the point of setting the domain when you set cookies? I have been able to find nothing and fail to see the point in setting a domain. As cookies can only be accessed by the domain that set them, what is the point in setting a domain? if the domain is set for say .example.com, can all subdomains read it?
I have domain name, eg www.abc.com. Use the Dynamic DNS web site to register. How the IP of www.abc.com. can be shown once I click The Domain Name,e.g.click http://www.abc.com.
Then show http://123.123.123.123
Is it the ASP program can help me? or any other solution.
I want to resolve domain names to an IP address. e.g. turn google.com into 64.233.167.99. I cannot install components on the server hosting the web page so I need a way that either doesn't need to use a component or uses standard components found on all windows servers.
After restart some time is everithing ok. After some hours - some days, problem start. Only in pool, where dll VB6 is used, aspx pages (asp ok) does not work.
Event: Failed to execute request because the App-Domain could not be created. Error: 0x8007000e Not enough storage is available to complete this operation.
Source: ASP.NET 2.0.50727.0 Event ID: 1088
OS: Windows 2003 Server SP1
HW: dual Xeon, 4GB RAM, Server is not Domain server. dll VB6 is used in pool where aspx pages does not work, in other pools aspx pages work.
How do you fetch just the domain name part of a variable in a script? The variable can be http://www.domain.com/blahblah/whatever/page.htm or http://sub.domain.com/blahblah/whatever/page.htm
wo have several sites on a same server and these sites use subdomains of a top domain,such as www.mycom.com, admin.mycom.com, forum.mycom.com.now we want these sites to share the session state(such as loginning state),so ,without concerning a web farm or sharing session state among different top domain, the simplest way to achive this must be to set the domain of the sessionid cookies asp sent to our top domain.( if it is possible through the iis metabase , registry or something else . )
If it isn't possible to set the domain of the sessionId coookie asp sent ,then,concerning a web farm or sharing session state among domains, Could you guys recommand some third-pathy session management asp components or servers(such as aSMS,but i can't download it anywhere)?
I am looking for a way to delete (expire) all the cookies that we've ever written to the user's machine. I have found several scripts, however I have come across one "gotcha."
The scripts I have found all look something like this:
response.buffer = "true" dim x for each x in Request.Cookies Response.Cookies(x) = "must be something" Response.Cookies(x).Expires = "January 1, 1999" next
One cookie gets set like this:
Response.Cookies(x).Domain = ".henryschein.com"
so that we can retrieve it from 'www.henryschein.com' and 'info.henryschein.com'
The problem is that the script above does not delete it.
Anyone have any idea why this is?? Anyone have a script that properly deletes ALL the cookies that you've ever written to the user's machine?
Anyone know of a way to allow a cookie to be read by multiple domains, or even better a specific IIS server IP? We're looking to track users across multiple domains within our website group.
I Finally Got this admin_SubscribedCust_email_processor.asp working so it sends emails to everyone in my database but ONLY WHEN THE EMAIL IS something @homeland.am so within the network... anything else it came with error message.. CDO.Message.1 error '80040213' is this out of my hands, as it is the ipowerweb server related or can i do something to fix this problem and how?? please help asap as i have been working on this problem for a while now and i also have another email admin section on my site that the admin can send emails to the customers on the database manually and it also is the same problem!
I'm trying to send an email to customers with their order information. I thought I had it working because I had been using my email. But when I changed and use an email outside of "______@faceproject.org" I get an error that says it cannot be found.
I'm using Windows Integrated Authentication on my company intranet ASP web site (IIS6 W2K3).
I would like to know how could I get the full Active Directory domain name from the Logon_User variable.
I always get the netbios name of the domain, but I need the full domain name to be able to distinguish users (because actually there is two companies on the intranet having their AD forest linked, but also having some subdomains with identical netbios name !).
I mean, for instance for a user login "theuser" coming from the domain is "thedomain.thecompany.com", I need to get in Logon_User environement variable the following content: "thedomain.thecompany.com heuser" At the moment I only get "thedomain heuser", excepted if I switch to basic authentication, that I don't want.