authentication

Redirecting user to admin page with usernamed url

Hello, I have a directory structure root->admin-> admin operations admin page inherited from a ase page with principla security.demand role = "Admins" i am usinf forms authantication mode. i have also put a web.config file in admin folder, restricting other users. it is working normaly with siteroot/admin. I want to setup a mechan...

Request for code review of JEE authentication and authorization filter

Hi, I know it's a good idea to use well implemented standard software for authorization and authentication. But this time I wrote it on my own. It is used in a intranet only application, so security requirements are low. But I, as the developer, would like to know, how secure it really is. I would please you to review the code and give ...

Authenticating from a "child" application via CAS

I have a portal application that loads external content (widgets) via an iframe. Users login to CAS via the portal itself. There are a few portal APIs, though, that need to be called from that external content. What information do I have to pass from the portal to the widgets that the widgets can use to make these calls without being rej...

PayPal issue: buyer buys a product from a seller in a marketplace. Seller authentication problem.

Hi all! We need help with the direction after spending multiple days trying to resolve it on our own. We are building a marketplace where buyers meet sellers (think of eBay but for a specific niche). We want to facilitate a transaction where the buyer can buy a seller’s product and notify us about finished transaction. It is critical f...

rolebase using forms authentication

Hi, I am working on ASP.NET using C#.I have created a website and now have to implement rolebase.This is a part of my final semister project and I am new to this.I need to work something like this-I have 3 roles say it owner,manager and teamleader.Owner can view all the employees which is in the database called through storedprocedure,ma...

What is the best way to get passwords for basic auth in a API and why?

Creating a API here and I want people to be able to make simple mobile apps that could get the username/password of my users and of they go to interact with my server. So I need to have a Basic Auth(OAuth and other stuff are also going to be supported, mostly for a different use case). Right now I have a example from a Book saying i coul...

After impersonation authentication screen keeps popping up in my ASP.NET Application

I'm working on a program that has to archive (zip and delete files and folders) on a server. The servers that hosts the application (ASP.NET MVC) and the server that holds the files are two different servers. When I run the application without impersonation and the default webconfiguration everything works fine. The credential of the pro...

Why won't the .ASPXROLES cookie pass through subdomains?

I have tried to set up .Net authentication to allow authentication across subdomains in my app. To do this, I added a "domain" attribute in the forms element, like this: <forms domain=".mydomain.com" name=".MyApp" loginUrl="Util/login.aspx" timeout="120" /> Then, for the role provider, I added a domain to that too: <roleManager doma...

No Environ("password") for Active Directory User Binding?

I want to reuse the Windows authentication to bind to the Active Directory user and check group membership. I can get the Windows username with Environ("username"), but how do I get the password? I don't want to have to require the user to reenter their password, but there is no Environ("password"). How do I make this code work? Thank...

How to Authenticate to a asp.Net webservice from Flash Media Server

I've searched all over and can't find this addressed anywhere. I have a Flash Media Server script that writes data to an ASP.Net webservice when a user connects. It works great, but I want to lock down security if possible. The best I could come up with was to add a token to the flashVars of the client flv, then pass it through FMS w...

How do I use composite key user ids with Catalyst::Plugin:: Authentication::DBI?

What is the most effective to way to make Catalyst::Plugin::Authentication work if the user uesrid is qualified by a domain (i.e. composite key)? Does it support this functionality? I'm looking specifically at using Catalyst::Plugin::Authentication::DBI but I'm not opposed to forking, patching, recreating it if it doesn't have the curre...

Requiring authentication file from lib with cucumber

I am trying out Cucumber for the first time and I've come accross an issue. I am try to use RyanB's nifty authentication generator, but it seems I can't use the helper methods when running my Cucumber features. Part of my feature giving me problems: when I am on the new book page # features/step_defin...

GMail + C# + Web.Config: Send Mail Works Programmatically, Throws Exception Using Web.Config Values

Given the following section in Web.Config: <system.net> <mailSettings> <smtp deliveryMethod="Network" from="SomeWebsite Admin &lt;[email protected]&gt;"> <network host="smtp.gmail.com" port="587" defaultCredentials="true" userName="[email protected]" password="somepassword" /> </smtp> </mailSettings...

Glassfish JMS (flat-file) authentication

Hi all, Flat-file JMS authentication is easy to set up on Glassfish (see http://docs.sun.com/app/docs/doc/821-0027/aeofg?a=view). The problem is the client part. I am writing a standalone Java client to access my JMS ressources (ConnectionFactory and Destination) via JNDI. How to pass a username and a password to JMS from that client ...

Can anyone recommend an authentication library for CodeIgniter 1.7.x?

I've just started to play with CodeIgniter 1.7.2 and imendialtly noticed that there is not a built-in library for user authentication. I don't need anything fancy. It's only to authenticate users in to my back office system. I don't need users and groups, or permissions etc. I just need a script to allow users to login. If a user tries ...

Login not triggered for restricted page in glassfish jdbcrealm authentication

I'm very new to EJB security and GlassFish authentication, authorization mechanism. I have a jdbc realm and configured sun-web.xml and web.xml to map the roles and restrict access to a page. However, my problem is that when I restrict access to all the pages, it works and triggers the login pop up before loading the welcome page (using ...

Secure Google Authentication

I need to make a query to one of Google's services. I read this answer: http://stackoverflow.com/questions/1656446/download-csv-from-google-insight-for-search/1656817#1656817 The copied and pasted code from that question is: using (var client = new WebClient()) { // TODO: put your real email and password in the request str...

Custom User Management for Google App Engine Java

I am using GAE Java for a multi-user application. There are multiple users with different roles. Each user can login, do some operations and logout. The business restricts me from using Google User Service and I need to implement my own for authentication and session management. Can anyone please share with me how should I go about impl...

What one-time-password devices are compatible with mod_authn_otp?

mod_authn_otp is an Apache web server module for two-factor authentication using one-time passwords (OTP) generated via the HOTP/OATH algorithm defined in RFC 4226. The developer's has listed only one compatible device (the Authenex's A-Key 3600) on their website. If a device is fully compliant with the standard, and it allows you to r...

Log in using Java where server's authentication could be sso or web applcation container's basic

Hi, I have a situation where ideally I want to be able to log-in to a secure area using a Java application. I would like to make an HTTP request and check the response to see if I need to do some kind of authenication before I can actually get the response expected, instead of effectively some login page. The complication is that the ...