|
Retrieving files in from the .net page
Hi,
In my .net aspx page, the client can read the file lists in a particular
folder.
However, when I click the file, then it prompts me to enter the account and
password.
The files and folders are actually in a Network Attached Storage while all
the .aspx files are in the web application server.
I use the impersonateValidUser method for reading the list from the NAS, but
have no righ...
|
1 |
12/30/2008 8:52:33 AM |
|
Strong naming problem
Hi there,
I'm trying to publish my web site from VS by right-clicking the project and
selecting "Publish Web Site". On the dialog that appears, I then check
"Enable strong naming on precompiled assemblies" and enter the name of my
".pfx" file in the "Key file location" field. The following error results
however when I proceed with publishing:
"Error 5 Cryptographic failure while sign...
|
3 |
12/28/2008 12:46:23 PM |
|
SSO
Hi All,
I know this question has been posted many times in this group and I did went
through and implemented the solution in my ASP.Net 2.0 Internet facing
application
I am using
IIS for integrated authentication
and ASP.NET for Windows authentication (<authentication mode="Windows" />)
as Dominick Suggested.
It works as expected, I sign into one app and I can go to my app2 and...
|
2 |
12/27/2008 5:27:23 PM |
|
SSO
I know this question has been asked many time I just went through reading and
applying suggested method for SSO.
I am using ASP.Net 2.0
IIS integrated authentication
and ASP.NET for Windows authentication (<authentication mode="Windows" />)
I have 3 different applicaiton on one IIS server serving under same domain
like
www.domain.com/app1
www.domain.com/app2
www.domain.com/app...
|
1 |
12/26/2008 6:00:01 PM |
|
CreateUserWizard control redirects me to login.aspx
I have a problem with CreateUserWizard control.
It doesn’t create user when I have this section in web.config:
<forms name=".ReportsWebsite1Cookie"
timeout="20"
slidingExpiration="true"
cookieless="AutoDetect"
protection="All"
requireSSL="true"
enableCrossAppRedirects="false"
defaultUrl="MyDefault.aspx"
domain...
|
1 |
12/22/2008 8:34:01 PM |
|
ASP.NET - User.Identity.IsAuthenticated returning false unexpected
Overview: ASP.NET - Page.User.Identity.IsAuthenticated returning false
mid-session, only when not using SSL and only when the client machine is
Windows Vista or Server 2008.
I'm experiencing a bizarre issue with ASP.NET membership authentication
where, mid-session, during a page request in which I am checking
Page.User.Identity.IsAuthenticated, it will return as false and then, in
sub...
|
1 |
12/19/2008 4:32:01 PM |
|
unusual scenario for auth - I think
Hello,
I'm not extremely experienced in asp.net web app dev but I've done a
handfull of small projects... both forms based (internet) and windows based
auth (intranet scenario). I realize both the asp.net app and IIS are
involved in the configuration....
so, that said, can the following be done?
IIS and SQLExpress installed on server 2k8 domain controller. A web app
there currentl...
|
3 |
12/17/2008 9:34:41 PM |
|
Cross site authentication
Hello Everyone,
I am struggling to make cross site authentication work...
I have a aspnet 1.1 app (which is to be converted to 2.0 shortly) that has
to be integrated with another aspnet 2.0 app.
The need is to use the same login form for both apps, so I modified my
web.config file in order to use the other app' login page, so far so good.
All authentication tags are the same on bot...
|
3 |
12/17/2008 7:49:33 AM |
|
ProfileCommon.Create creates user with wrong apllicationID (provider)
I have this code that should save a user with a specific applicationID:
protected void btnSaveUser_Click(object sender, EventArgs e)
{
string username = this.txtUsername.Text;
string firstname = this.txtFirstname.Text;
string lastname = this.txtLastname.Text;
string password = this.txtPassword.Text;
string email = this.txtEmail.Text;
int siteId = int.Parse(this.tx...
|
1 |
12/11/2008 9:17:48 PM |
|
Using Principal.GenericPrincipal vs SqlRoleProvider
Hi, i created my own Users, Roles, & UserRoles table in my SQL DB. I'm
using the following code to associate the user's roles from what's in my
tables.
Snippet 1
----------
//In a page base class, Load the user's roles for subsequent IsInRole
security checks...where userRoles is an array of roleIds pulled from the
UserRole table.
Context.User = new
System.Security.Principal....
|
2 |
12/10/2008 11:11:44 PM |
|
Deploy asp.net 1.1, 2.0 and 3.5 on IIS7.0
Hi There,
I try to deploy the asp.net applications on the IIS7.0 (this is new window
2008 server). All of the web applications have include files
<!-- #include file = "/templates/apps_top.htm" -->
<!-- #include virtual = "/filewithus/inc_filewithus.txt" -->
This include files working fine with IIS6 framework 3.5 but IIS7 I got the
error message say
Access to path 'apps_top.htm...
|
2 |
12/4/2008 2:20:01 PM |
|
How do I Authencate and Authorize Users Using AD and SQL App Role
I have an application that is being developed for our Intranet.
Which will require authentication of users that are members in an Active
Directory group; TIRES Users, TIRES Super, TIRES Admin.
Additionally, I created three SQL Application Roles, TIREAdminCRUD,
TIRESuperRU, TIRESUser, with three distinct passwords.
Each group was given execute right to various stored procedures with the ...
|
2 |
11/30/2008 8:08:24 PM |
|
REPOST: bug in Forms Authentication
hi, i tried posting this last month but got no takers, trying again!
i have a minor problem where some users log in with capital letters
for their username, which looks bad when displayed on screen and also
causes discrepancies in some user activity logs maintained in the
database, e.g. "JOE BLOGGS Login" and "Joe Bloggs Login". in an
attempt to standardise the username case, i tried to re...
|
1 |
11/12/2008 9:35:39 AM |
|
ASP.NET User.Identity.Name value after a domain username change
Hey
I have an ASP.NET application that is on a Win2000 server in a domain with
Active Directory. There are a number of client machines on this domain that
access a website on the server. IIS has Integrated Authentication only, and
no Anonymous access. I use the User.Identity.Name in my C# code to get the
login name of the requesting user.
I have a very confusing issue when the domain...
|
7 |
11/4/2008 8:28:37 PM |
|
user.identity.name returns old AD user name
We changed a username in AD. The user now logs on to a computer on our
network using the new username without any problems. They can not logon using
the old username. However, when they access a IIS 6.0 web site where a
programmer compares system.web.httpcontext.current.user.identity.name to a
lookup table containing usernames they could not gain access with the new
userid. We created ...
|
6 |
11/3/2008 12:27:01 PM |
|
Membership Provider - Users Question
I have much more data to store (e.g. FirstName, LastName, Streetname, ...)
for a Profile/Account then aspnet_users stores. This Profile/Account data
probably will be stored (due to normalization) in more then 1 table.
Now my question: if possible I would like using the standard Membership
provider delivered by ASP.NET 2.0. What is the most used/best practice for
solving the kind of prob...
|
1 |
11/1/2008 8:58:01 PM |
|
FormAuthentication hashed passwords
I am try to authenication userID and password, I check the spelling of both
userID and password. The problem is it is always false and I know I typed
in the correct data. How am I doing wrong??? Here is my code:
private bool VerifyPasswords(string suppliedUserName, string
suppliedPassword)
{
bool passwordMatch = false;
string connection =
WebConfigurationMana...
|
1 |
10/30/2008 1:01:56 AM |
|
: Remote access and ASP.Net security
I created an Access 2007 application for my customer. The application is
shared by three employees on a server. It maintains a contact list including
financial data and social security numbers.
Now they want to share this Access application with employees at a remote
office. They expect to have a maximum of 30 employees editing the client
list in both the local and remote offices. ...
|
1 |
10/24/2008 5:42:02 PM |
|
How can I very the digital signature of an unmanaged DLL
I would like to verify the signature of an unmnaged DLL before I try to load
and use it. Is there a way to verify it or determine who certified it....
|
1 |
10/22/2008 4:59:01 PM |
|
Forms Authentication, Membership.Username case is wrong
hi,
i have a minor problem where some users log in with capital letters
for their username, which looks bad when displayed on screen and also
causes discrepancies in some user activity logs maintained in the
database, e.g. "JOE BLOGGS Login" and "Joe Bloggs Login". in an
attempt to standardise the username case, this code used to work fine:
protected void Login1_LoggedIn(object sender, Ev...
|
1 |
10/21/2008 3:21:43 PM |
|
Giving fulltrust to windows user control hosted on web page
Hello,
Please give me the solution for giving the full trust to the user
control through code??
Thanks in advance....
|
1 |
10/21/2008 5:56:33 AM |
|
Web Farm & Context.User
Hi,
My application is running with two web server let say W1 & W2 and load
balance controls the request to web servers .
One of my application page pop up a new page and there I am using
Context.User prpoerty to get current user informtaion and convert into my
customer class which lot of customer information .
This works fine in Developement environment and when it moves to production ...
|
1 |
10/20/2008 10:19:03 PM |
|
Security Using Access with asp.net
I am a newbie with asp.net and have downloaded Visual Web Developer 2008
Express.
Now, I see that using roles, it is possible to deny access to certain pages.
Those roles are
saved in a SQL Express 2008 database. Is it possible to use Access 2007 also
to save roles
and passwords and so on?
Why I ask, is because where I have my website, I am offered SQL server 2008
database.
However,...
|
3 |
10/18/2008 2:49:34 PM |
|
calling function of user control hosted on web page using javascript
Hello,
Please tell me how to call function of user control which is hosted on
web page using javascript?
Thanks in advance....
|
1 |
10/18/2008 5:41:50 AM |
|
AXD file is not rendering after installing Framework SP1 (Due to S
I am using framework 2.0 and and my whole application wsa working fine.
After installing framework SP1 ( due to security ) all my java script
validation are going exception since my AXD file is not rendering
Please advise me how I Can fix this.
This very urgent for me
Thanks in advance
Umeshnath
...
|
1 |
10/17/2008 6:17:10 PM |