authentication

SQL Server 2005 SQL Authentication Connection String

Hello, I'm building an application that connects to SQL Server 2005. It currently uses Windows authentication, but I'd like to switch to SQL Authentication (I believe it is also sometimes called Mixed Authentication). My current connection string is: "Data Source=LOCALHOST;Initial Catalog={0};Integrated Security=SSPI" That's for Windo...

What is the most efficient/secure way to authenticate a web service in ASP.NET?

Background:** We have an ASP.NET web app which exposes simple ASMX web services such as: string GetOrders(string userName,string password,DateTime orderDate) : Return an XML string of customer orders based on the user (customer). void UpdateOrders(string userName, string password, Guid orderGuid, string orderXml) : Update an order's da...

why authentication mode="Forms" in subfolder is not supporting?

In our project we have many folders.I have authenticate my folder separately,without the help of root web.config.because web.config is always update by x person.i need all my control to a separate folder. When i am trying to changing the "authentication mode" to root web.config,its working .but not in the subfolder, it is not worki...

Silverlight and ATOM feeds that require authentication

I am building a simple feed reader application that needs to access an ATOM feed that requires authentication. I was going down the route of using the WebClient class and found a Credential property that exists but is not implemented! webclient.Credentials = new NetworkCredential("username", "password"); Question: What work around ar...

How can i pass an authentication cookie to an ADO.NET dataservice in Silverlight

I can pass a cookie into my silverlight application from another asp.net page, but i need to add it to the request header of my dataservice... This was easy in ASP.Net, but in Silverlight it seems that i can't manipulate the request header private void Authorize() { Cookie dataServiceAuthCookie = new Cookie(HtmlPage.Docu...

How to download a file using HttpWebRequest and authentication

Download fails for authenticated sites. I've tried passing Network Credentials and allowing AutoRedirect but that doesnt work. The application works fine for URLs that allow downloads with authentication. But my application has to download components from a site that requires authentication. So in a browser..the download url redirects t...

Why Response.Redirect("Pagename.aspx") doesn't work

Dear All, I have one application where after successful Login user will be redirected to Home.aspx. Now if I try Response.Redirect("Home.aspx") it doesnt work, But if I try FormsAuthentication.RedirectFromLoginPage(TextBox1.Text, false);..its working. Now my question is why Response.Redirect() is not working? I know FormsAuthentication...

Block access to site from specific IPs?

I'm looking to try and block access from 2 IP addresses in PHP, preferably notifying them of their blocking. Is there anyway I can do this or is it just not possible using PHP? I've seen a Javascript version of doing it, but if the browser has Javacript turned off, then surely they'd be able to get around it. thanks for any advice/hel...

Kohana -- User Registration Runtime Error (auth)

I'm implementing the auth module in Kohana, and I can't seem to figure out the source of this error message--it happens when I submit a registration form that creates a user in the database (which it successfully does). An error was detected which prevented the loading of this page. If this problem persists, please contact the websi...

Can I use Basic HTTP Authentication with Android MediaPlayer?

Hi I cant find a way to use an url that requires basic auth when im useing mp.setDataSource(url); MediaPlayer mp = new MediaPlayer(); mp.setDataSource(url); mp.prepareAsync(); Anyone that got any ideas? ...

Why does an authentication mode of "Forms" result in an empty LOGON_USER server variable?

Is it possible to: Disallow anonymous access in IIS AND Have... <authenticate mode="Forms"/> ...in the Web config? We need both access to the ASP.Net Membership provider and access to the Windows username in the LOGON_USER server variable. What we've found is that disallowing anonymous access in IIS will only populate LOGON_USER ...

Bea Weblogic (8.1) and j_security_check

I'm working with a developer here who just inherited an existing site. It is a Weblogic 8.1 website with j_security_check authentication behind an apache reverse proxy. We're getting some issues with the logins, and are not sure about j_security_check config. It seems very black boxy and magicky. How do we get information on how it's...

Authenticate in PHP with OS username/password?

I'm wondering if there's a way to use PHP (or perhaps some other CGI, but preferably PHP) to authenticate a user with their OS (in this case, Linux, Debian 5) username and password. Possible? Difficult? Thanks! ...

Is there django auth backend to authorize by temporary links?

I am searching a backend to authorize users by email without password. This backend should send them temprary authentication links to an inbox. Is there any solution or I should write it myself? ...

NTLM proxy without password?

I work on a corporate windows network (which I log in to) with a HTTP proxy. When I use Internet Explorer it magically uses the proxy without me needing to type in my password. Certain other programs seem to manage this too, like JavaWebStart has a "use browser settings" option. However when I use scripts/programs like curl or wget to f...

Delphi & SmartCards

Does anyone have experience integrating SmartCard authentication in their Win32 apps? If so, are there any preferred libraries? ...

Does getpwnam respect /etc/nsswitch.conf?

Does getpwnam respect /etc/nsswitch.conf? The manpage for getpwnam states The getpwnam() function returns a pointer to a structure containing the broken-out fields of the record in the password database (e.g., the local password file /etc/passwd, NIS, and LDAP) that matches the username name. This leads me t...

How to add a service reference to a WCF client for a web service requiring client authentication certificate

Caution, WCF noobie alert I need to create a WCF client to query a non-WCF web service. The web service is not a WCF service. Additionally, the web service requires a client authentication certificate. Now, I have the certificate, and can create a non-WCF client that works perfectly; I was able to 'Add Web Reference' and a certificate...

Making JAAS LoginModule Case-Insensitive

I am using JAAS to authenticate against Microsoft Active Directory and unlike AD its current behavior is case-sensitive. Does anyone have any tips on making JAAS LoginModules case-insensitive? ...

Single sign on token validity check

I am looking to implement single sign on for two applications on different domain. Both the applications are in .Net 3.5. I understand I need A user tries to access a web page of Website1. The system identifies that the user is not logged in, so redirects the user to the Login Website. Once the user provides correct login information an...