Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Security | Forum profile

Forum profile page for Security on http://www.asp.net. This report page is the aggregated overview from a single forum: Security, located on the Message Board at http://www.asp.net. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "Security" on the Message Board at http://www.asp.net is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: Forums - ASP.NET Forums - Security (site profile, domain info asp.net)
Title: Security
Url: http://forums.asp.net/25.aspx
Users activity: 23 posts per thread
Forum activity: 178 active threads during last week
 

Posting activity on Security:

  Week Month 3 Months
Threads: 178 457 1,243
Post: 380 999 2,817
 

Security Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
guru_sarkar
16
user's latest post:
membership roles
Published (2009-11-30 13:03:24)
we need more info on exactly what is happening. Also, your login code and web.config details will be helpful.
rtpHarry
12
user's latest post:
Reading .csv files in a network...
Published (2009-11-30 14:13:02)
To be honest I don't know without testing some code out. Different browsers handle the upload control differently and you can get different levels of information out of them. Some browsers you can get the full client path and others you can't. If you could rely on the client path being populated you could figure out what they had selected on your file server. To be honest if there is a central file server then you should forget...
Jerry Weng - MSFT
12
user's latest post:
Creating new users - failing...
Published (2009-11-30 03:16:18)
Hi grunners, If we want to avoid collecting some values to our membership, we can create a custom membership provider. We can learn about it from the link below. Building Custom Providers for ASP.NET 2.0 Membership http://msdn.microsoft.com/en-us/library/aa479048.aspx   Membership . CreateUser Method (String, String) http://msdn.microsoft.com/en-us/library/d8t4h2es.aspx
VinnyPip
9
user's latest post:
Windows Authentication with...
Published (2009-11-24 09:43:00)
<?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration>...
XIII
9
user's latest post:
ASP.NET web application setting...
Published (2009-11-30 07:10:23)
Hi, I think you're referring to Roles . To learn more about that take a look at these tutorials: http://www.google.nl/search?hl=nl&source=hp&q=site%3Awww.asp.net%2Flearn+roles&meta=&aq=f&oq =. Grz, Kris.
dbstrat
8
user's latest post:
error "The RSA key...
Published (2009-11-25 16:57:00)
Unbelievable!!  I have figured out the solution and I'm wondering if a bunch of the people experiencing this are actually having the same problem.  I was copying and pasting the command in from a website/Word doc and dangit if the same exact command doesn't work just fine when typed out by hand.... It's nuts because I made sure that there wasn't any line feeds or anything, I even retyped the container...
Vestras
8
user's latest post:
LoginView never displays the...
Published (2009-11-28 13:25:20)
Ehh, that I don't know how to do :o Lemme upload the full source to sendspace: http://www.sendspace.com/file/9swqdt
senzacionale
8
user's latest post:
RoleManager enable and disable
Published (2009-11-27 05:43:00)
this is what i am looking for. Thx
vishwaraj1
8
user's latest post:
Logging user depending upon rights
Published (2009-11-30 07:41:46)
use this code like this.. protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { Boolean blnAuthenticate; LabelMsg.Text = ""; blnAuthenticate = Membership.ValidateUser(Login1.UserName, Login1.Password); if (blnAuthenticate) { string[] role = Roles.GetRolesForUser(Login1.UserName); string getRole = role[0].ToString(); Session["role"] = getRole.ToString(); if (getRole ==...
ally138411
7
user's latest post:
Logging user depending upon rights
Published (2009-11-30 05:08:46)
hi, i dont understand this part where to add this..     string [] role = Roles.GetRolesForUser(Login1.UserName);           string  getRole = role[0].ToString();           Session[...
 

Latest active threads on Security::

Forums - ASP.NET Forums
Started 4 days, 20 hours ago (2009-11-29 12:54:00)  by guru_sarkar
Where are you storing your FirstName ? Is it in the same table shown in the link your provided? Here is sample how you can do it: On masterpage Load : //Check if user is logged in if(!String.IsNullOrEmpty(HttpContext.Current .User.Identity.Name)) { //Get current membership user object MembershipUser usr = Membership.GetUser(); if(usr!=null) { //Get the Userid ...
Thread:  Show this thread (7 posts)   Thread info: Display FirstName on page Size: 936 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Display FirstName on page :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 4 days, 2 hours ago (2009-11-30 07:10:23)  by XIII
Hi, I think you're referring to Roles . To learn more about that take a look at these tutorials: http://www.google.nl/search?hl=nl&source=hp&q=site %3Awww.asp.net%2Flearn+roles&meta=&aq=f&oq =. Grz, Kris.
Thread:  Show this thread (3 posts)   Thread info: ASP.NET web application setting permission to access data? Size: 493 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: ASP.NET web application setting permission to access data? :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 3 days, 20 hours ago (2009-11-30 13:03:24)  by guru_sarkar
we need more info on exactly what is happening. Also, your login code and web.config details will be helpful.
Thread:  Show this thread (3 posts)   Thread info: membership roles Size: 219 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: membership roles :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 2 weeks ago (2009-11-19 17:34:26)  by SureshMali
Hi Hawkhill, The logic to get this done is, when the user submits the form insert the data in the database, also modify the table which stores user details such that you have an additional field and name it for eg: AccountStatus, data type boolean. Now when the data is updated by default the value of AccountStatus would be False. Now after the data is inserted into the table send an email...
Thread:  Show this thread (6 posts)   Thread info: Hi help needed in new user registration Size: 1,170 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Hi help needed in new user registration :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 8 months, 1 week ago (2009-03-27 15:19:00)  by rtpHarry
Hi it sounds like it might not be the second page having problems. It could be the login control attempting to connect to the database and failing. Do you have a section like this in your web.config that tells the SqlMembership provider which connectionstring to use? <membership defaultProvider="SQLProvider"> < providers > < add connectionStringName= "SQLConnection" applicationName=...
Thread:  Show this thread (8 posts)   Thread info: Forms authentication & SQL Error 26 - Error Locating Server/Instance... Size: 1,760 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Forms authentication & SQL Error 26 - Error Locating Server/Instance
Specified) :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 1 month, 2 weeks ago (2009-10-15 11:35:56)  by DeadBurger
User.Identity.Name gets the name. Getting other information from a windows user is a bit more complicated, here is an article about that: http://www.wwwcoder.com/main/parentid/272/site/169 4/68/default.aspx
Thread:  Show this thread (15 posts)   Thread info: How to get currently logged user name and email? Size: 325 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to get currently logged user name and email? :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 3 days, 16 hours ago (2009-11-30 17:21:30)  by kwanann
nope, the certificate error just tells you that the cert and the url does not match, everything else works as per normal.
Thread:  Show this thread (3 posts)   Thread info: Certificate Error Prevents Cookie Writing? Size: 216 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Certificate Error Prevents Cookie Writing? :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 3 days, 16 hours ago (2009-11-30 16:37:00)  by hans_v
You'll need to set the correct properties in web.config. Generate a machine key using this online tool and place it in your web.config (if you don't, users are logged out when the application recycles, especially in a shared hosting environment). And then set the properties as below: < forms loginUrl = " Login.aspx " protection = " All " timeout = " 60000 " ...
Thread:  Show this thread (3 posts)   Thread info: remember me and timeout after inactivity Size: 2,251 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: remember me and timeout after inactivity :: Security :: Forums - ASP.NET Forums"
Forums - ASP.NET Forums
Started 1 week, 3 days ago (2009-11-23 13:39:00)  by rtpHarry
If you use the WAT does it let you create new users? WAT = Website Administration Tool http://www.google.co.uk/search?q=asp.net+using+WAT
Thread:  Show this thread (11 posts)   Thread info: New user already exists? Size: 335 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: New user already exists? :: Security :: Forums - ASP.NET Forums"
 

Hot threads for last week on Security::

Security
Started 6 days ago (2009-11-28 09:14:20)  by XIII
Hi, can you give the markup of your loginview control? Does the loginname control provide you with the logged in person id? What's the value of User.Identity.Name in your page? (try debugging your page_Load event and type it in in the Immediate window prefixed with a ? character. Grz, Kris.
Thread:  Show this thread (16 posts)   Thread info: LoginView never displays the LoggedInTemplate, even though I'm logged... Size: 431 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: LoginView never displays the LoggedInTemplate, even though I'm logged
in :: Security :: Forums - ASP.NET Forums"
Security
Started 1 week, 1 day ago (2009-11-25 10:27:00)  by masoomnazir
Surely you should be able to use .mdf file as by default Asp.net authentication uses sqlexpress database.At the same time you can also use sql server for your authentication.You can go through the following article to know how to do it. http://msdn.microsoft.com/en-us/library/ms998317.a spx Answer would have been more helpful had you posted the error message you get with your login....
Thread:  Show this thread (11 posts)   Thread info: Connecting to aspnetdb.mdf problem Size: 565 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Connecting to aspnetdb.mdf problem :: Security :: Forums - ASP.NET Forums"
Security
Started 1 week ago (2009-11-26 09:56:00)  by linick
Yes. You can disable role manager from web.config. <roleManager enabled="false"> </roleManager>
Thread:  Show this thread (11 posts)   Thread info: RoleManager enable and disable Size: 228 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: RoleManager enable and disable :: Security :: Forums - ASP.NET Forums"
Security
Started 4 days, 20 hours ago (2009-11-29 12:54:00)  by guru_sarkar
Where are you storing your FirstName ? Is it in the same table shown in the link your provided? Here is sample how you can do it: On masterpage Load : //Check if user is logged in if(!String.IsNullOrEmpty(HttpContext.Current .User.Identity.Name)) { //Get current membership user object MembershipUser usr = Membership.GetUser(); if(usr!=null) { //Get the Userid ...
Thread:  Show this thread (7 posts)   Thread info: Display FirstName on page Size: 936 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Display FirstName on page :: Security :: Forums - ASP.NET Forums"
Security
Started 1 week, 1 day ago (2009-11-26 00:03:46)  by qwe123kids
Hi, if ur talking about disabling useraccount... try { DirectoryEntry user = new DirectoryEntry(userDn); int val = (int)user.Properties["userAccountControl"].Value; user.Properties["userAccountControl"].Value = val | 0x2; //ADS_UF_ACCOUNTDISABLE; user.CommitChanges(); user.Close(); } catch (System.DirectoryServices....
Thread:  Show this thread (6 posts)   Thread info: how to enable/disable windows OS user Size: 1,189 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: how to enable/disable windows OS user :: Security :: Forums - ASP.NET Forums"
Security
Started 1 week, 1 day ago (2009-11-25 11:10:00)  by dangerouschotu
when you are logging the user add the user id in session like Session["uid"]=uid; and when you want to load user data in the sql query you must pass UID in where clause. if you want to see other details just like create hyperlink and redirect to some page like userprofile.aspx?uid=user1 user1 is the id of the user that you want to see. if an helps tell me
Thread:  Show this thread (5 posts)   Thread info: Logging into the Application Size: 486 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Logging into the Application :: Security :: Forums - ASP.NET Forums"
Security
Started 6 days, 3 hours ago (2009-11-28 05:25:29)  by sukumarraju
suj69: at2LinqDataContext db = new at2LINQDataContext(); Hello Are you using Linq to SQL? Note that when you configure Membership provider, your web.config contains Membership section and reads connectionstring from connectionStrings section. It requires that connectionString name is specified in Membership section. The methods you are using Membership.GetUser(...
Thread:  Show this thread (5 posts)   Thread info: Storing custom field data from CreateUserWizard step withinOnCreatedUser... Size: 2,823 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Storing custom field data from CreateUserWizard step within
OnCreatedUser event :: Security :: Forums - ASP.NET Forums"
Security
Started 4 days, 9 hours ago (2009-11-29 23:54:00)  by bloggernext
use this in web.config to set the regular expression for password restrictions: <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow = "20> <providers> <add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SqlServices" requiresQuestionAndAnswer="true" passwordStrengthRegularExpression=" @\"(?=.{6...
Thread:  Show this thread (5 posts)   Thread info: How to set passwordStrengthRegularExpression for Membership? Size: 917 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to set passwordStrengthRegularExpression for Membership? :: Security :: Forums - ASP.NET Forums"
Security
Started 1 week, 2 days ago (2009-11-24 22:18:00)  by shanmugamm
What do u want to do this code?
Thread:  Show this thread (8 posts)   Thread info: Encryption Code Problem Size: 132 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Encryption Code Problem :: Security :: Forums - ASP.NET Forums"
Security
Started 1 week, 1 day ago (2009-11-26 02:13:15)  by qwe123kids
Hi, U may Try To create Httphanlder and proces the request based on the extesnsion offile.. http://www.c-sharpcorner.com/UploadFile/shivprasad k/1234612222008053711AM/12346.aspx and then cross check from your database is user have rights to the images
Thread:  Show this thread (4 posts)   Thread info: Authorization for Images and Asp page at subdirectory level Size: 384 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Authorization for Images and Asp page at subdirectory level :: Security :: Forums - ASP.NET Forums"