Security :: Securing URL For Logged In Users?

Oct 26, 2010

I need something to secure my PDF files link ...

i have a page like http......../folder/userName.pdf

i need to to encrypt the file name ( i put it "login userName" ) ...

how do i let logged in users download their pdf files without knowing the URL above , for security reasons only ...

View 4 Replies


Similar Messages:

Security :: Used Security In Login Page Which Restricts All Users Who Have Not Logged In To All Pages?

Jun 23, 2010

i used security in login page which restricts all users who have not logged in to all pages. I need to restrict specific users to specific pages. I'm not using AspSqlService provider. So i cannot create roles and restrict automatically. And the pictures i use in login page are not visible @ runtime.

View 1 Replies

Security :: Best Way To Identify All Users Currently Logged In?

Feb 10, 2011

I know how to identify the current user during a specific browsing session and can thus control the data, etc, made visible to that individual user. I also know how to find out how many users logged in within the recent past, using:

Membership.GetNumberOfUsersOnline()
.... which I believe calculates the number of users who have logged in within the past 15 minutes. However, I would like to know if there is any way to identify all the users who are logged in at a point in time. Is this possible?

View 9 Replies

Security :: Getting A Unique ID For Logged In Users?

Mar 8, 2011

I am using ASP.Net Forms based security with the login control. On my site a user will make a number of selections that will be written to a database. Is their a unique user id that I can get from the AspNetSqlProvider that I can use to id users in my database? When a user logs back in after being away I want to be able to retireve the users information using this id.

View 7 Replies

Security :: Listing Logged In Users - VB.NET Membership?

Jul 2, 2010

I used [URL] as a guide and have something configured to show me the users which are logged into the system. This uses the aspnet_Users.LastActivityDate column to see when someone last did something on the system. It also uses the userIsOnlineTimeWindow within the web.config to determine whether a user is online or not.

But because of this userIsOnlineTimeWindow limitation of .NET, even when someone logs out of the system or closes their browser window, the system still sees them as being online. Also, if they are on a page and don't do anything for 10 minutes, the system will show them offline until they refresh their page or go to another page. know of a better, more real-time way to tracking users which are logged in, logged out, etc?

I don't want to wait 10 minutes for the system to show that a user is offline and also if there's 10 minutes of inactivity, it shows them being offline.

View 1 Replies

Security :: Inactive Users Being Logged Out Too Quickly?

Dec 5, 2010

I have a site where the admin can log in to make changes to his content, but while making changes (using a specific asp.net control) with no page loads or callbacks while editing, the user is sometimes being logged out.

I want to increase the time it takes for the system to wait before logging-out inactive users.

I'm using the standard membership provider.

View 1 Replies

Security :: Keep The Pages From Time Out When Users Are Logged In?

Mar 6, 2011

How do I keep the pages from time out when users are logged in?

View 3 Replies

Security :: Assuming Identity Of Other Logged In Users In Web Application

Nov 1, 2010

I have a web application with a login form. A user enters a user name and password. If they exist in the database the user is authenticated using these two lines:
[Code]....

The problem is that when a user logs in at first he is logged in as himself. When navigating on the web application for a while the user assumes the identity of another logged in user. This happens all the time. In my web.config the authentication mode looks like this:
[Code]....

The site does not use ASP.NET session variables. Instead each page initializes a Singleton class, which stores itself in a static class variable, always accessing the users data already read from the database. The Singleton implementation is:
[Code]....

Could the problem with assuming another logged in users "session" be related to static classes in my application or a Forms Authentication configuration or a configuration in IIS (e.g. is it possible for users to have their own process?).

View 12 Replies

Security :: Accessing Logged In Users Details From MasterPage?

Sep 14, 2010

I have designed a navigation structure that is customisable from within my application and linked to the users role.

So I can restrict what menu items a user gets based on their role.

I have managed to do this quite well using SQL Tables and an ASP.Net Menu.

I can get it to only show the menuitems that are marked active and I have created an Stored procedure to get the menu items for a particular role.

Where I am struggling is getting the Logged On Users Roleid to pass it to the Stored Procedure.

I can get it using a regular aspx page but my menu is on my masterpage and I do not want to have to code it in each and every page.

I even tried to do it with a user-control but same happens. It seems that the User class is just not available when in a masterpage.

how I can pass the roleid from a Class or something or from the page to the masterpage?

View 2 Replies

Security :: Not To Show The Login Page When Users Are Logged In?

Apr 11, 2010

I have a Login.aspx in my application.

After users logged in, if they press "back" in the browser, it goes to the Login.aspx page.

But I don't want to show users the Login.aspx page when they are logged in. how to restrict users to see the login.aspx page if they are logged in??

I am using sql role based membership provider and standard login control provided by Visual web developer 2008.

View 7 Replies

Security :: Forms Authentication - Users Logged Out Before Cookie Expiration?

Jun 16, 2010

For some reason my users are logged out of the system every 10-15 minutes or so...regardless of the configuration below....am I missing something?

[code]....

View 1 Replies

Security :: Re-direct Logged In Users To Another Web Page In Visual Studio?

Apr 1, 2010

In the web.config file i have put some code in so that when users log in they will be re-directed to another part of the website which only registered users can access. for the admin part only the admin can log in and it takes him to the admin section and that works fine. it is only this that is causing me problems.

the code i inserted for which the user needs to be diverted to is:

<location path ="UserLoggedInFindUs.aspx">
<system.web>
<authorization>
<deny users ="?"/>

[Code]....

View 11 Replies

Security :: Redirect Logged In Users To Another Webpage In Visual Studio?

Apr 2, 2010

In the web.config file i have put some code in so that when users log in they will be re-directed to another part of the website which only registered users can access. for the admin part only the admin can log in and it takes him to the admin section and that works fine. it is only this that is causing me problems.

the code i inserted for which the user needs to be diverted to is:

<location path ="UserLoggedInFindUs.aspx">
<system.web>
<authorization>
<deny users ="?"/>

[Code]....

View 2 Replies

Security :: Only Allow Logged In Users To View Default.aspx, And About.aspx?

Nov 28, 2010

First of all, thank you for the attention.

I am having some trouble, I am very new to asp.net, and the last problem I had, I spent about 59 hours trying to solve, Now I have a new one !

:D well, I guess this is part of the learning process...

Well, in Visual Studio 2010, I clicked New Website. @ C# language, ... The template it gives is pretty nice, it creates a database MDF file, and a login/register setup ready to go !...

You guys can see it live AT CLICK HERE ...

Everything is working, well at least here at the local machine...

There are 2 pages in there, Default.aspX, and About.aspx ... I want to allow ONLY logged in users to view those 2 pages... I tryed a few things, added my account to a role called ADMIN,

In the web.cong I changed Allow"*" to allow"ADMIN" ... still didn't work.. Also, I was trying to avoid using roles for now, and I was trying to find a way to do this for individual pages in the same directory as well... If possible with out touching the web.config file...

View 3 Replies

Security :: Securing An IIS Virtual Directory With SSL?

Jan 6, 2011

My client has s website hosted under IIS 6. This website has a subsite as a virtual directory that we need to ensure is only accessed via HTTPS.

We have enabled HTTPS access to the sub-site, but because the root site is configured to use HTTP, this is being inherited by the sub-site and you can access it unsecured. How can we prevent this?

The only potential option I've found so far is this implementation of IHttpModule. Is there nothing in the web.config I can set, as you can the security on a WCF binding?

View 4 Replies

Security :: Securing A XML File Against Edit / Change

May 27, 2010

I am taking dataset value in an xml file in asp.net webpage. But when I convetr and create a file of its it i saved as a plain text. to which user can easily open and change anything. But I want to limit user to change XML fie.

View 10 Replies

Security :: Securing DLLs In Compiled Code

Apr 27, 2010

i have never encrypted any dlls. How to protect and secure compiled code, that cann't be extracted with the help of software like .net reflectors

View 1 Replies

Security :: Securing A Password In A SQLConnection String?

Jun 17, 2010

Because of the way the server is set up I'm using, I don't think I can use Integrated Security=SSPI in my SQLConnection string. However, I'm a bit wary of giving the database username and password in the connection string in a aspx.cs file. Is there any way of making it more secure?

View 3 Replies

Security :: Securing Web Images So Only Pages Can Access Them?

Nov 9, 2010

I only want my web images to be visibleSimpliied, a digital media page pulls html content from a database using SQL security and renders that HTML. That digital media page is secured in that only a returing Paypal transaction user with a matching transaction can access it. But today that HTML content makes references to images on my site, those images can be freely directly over the web.The backend is asp.net 2.0. Would it be possible for me to secure the web folder with my images to some generic user and impersonate access from my pages so that attempts to access images directly fails?f not, any way to solve all that html content on serverside somehow and turn it into something else I can secure?

View 1 Replies

Security :: Securing Files Using Handler And App_Data Folder?

Sep 16, 2010

I have secured some files on my webserver by putting them into the App_Data folder in the root (I do not have the option to secure folders using the ASAPI filter)The user gets access to these files by requesting them through a handler, fx. by requesting ~/Handler.ashx?file=App_Data/MySubFolder/MyFile.jpgNow, I want to make all the content in a specific folder called "Members" (a single subdirectory of the App_Data folder) available only by passing a specific password. That is by requesting ~/Handler.ashx?file=App_Data/MySubFolder/MyFile.jpg&password=xxxxIn my Handler.ashx I have written some logic seeking if InStr(context.Request.QueryString("file"), "Members") = 0 before sending the file.If inStr <> 0 a password is required.Is this a good way to secure a folder in and its content? Is there a way of getting access anyway, like using some kind of "sub-directory" line in the path (the same way as you can request parent directory by using "../../Myfile.jpg)? I know there will be a problem if someone fx. legitimately tries to access the file App_Data/Members.jpg

View 15 Replies

Security - Securing Forms Authentication Token On Client Side?

Jul 16, 2010

In my website, I am not using any authentication or authorization. I've created login page to capture the user credentials and check against database. If the user successfully authenticates, it's storing the user data in session and navigating to other pages. How thinking of implementing Forms Authentication, but my concern is how to secure the authentication token in client browser for security reasons. Does anyone have any ideas how to secure the authentication token?

View 1 Replies

Users Be Being Logged Out After A Minute Or So?

Jan 2, 2011

I have a Asp Mvc 2 site using forms authentication. When I run it locally I can log in and stay logged in indefinitely.

However when I put it on the server I seem to only stay logged in for a few minutes and then seems to be logged out. I have looked at the cookies and there are 2 which seem relevant:

.ASPXAUTH which is a session cookie .ASPXANONYMOUS which expires in 3 months.

When I refresh the page the cookies stay the same until I get logged out, when I seem to get a new .ASPXANONYMOUS cookie, but the .ASPXAUTH seems to be the same. It seems that I might be able to stay logged in until I do something after a certain amount of time. If I submit a form as soon as I am logged in then it works ok, but if I keep submitting data again and again then after a minute or so, one of the submits will happen as a logged out user and not as the user who was logged in, which all the other submits worked as. What might cause this behaviour and how can I track down what is different & change it so that I can stay logged in indefinitely?

its a single server, but after some more investigation and searching the likely candidate seems to be that I am using more than 100mb on the server and the application pool is getting recycled. I suppose now i need to know How can I check how much memory I'm using. What advice there is to reduce that.

View 2 Replies

Web Forms :: Redirecting Users Already Logged In?

Nov 28, 2010

When a user logs in, they are redireced to files within members folder. When a user happens to log in and gets redireced, there is the chance they will retype the default page address and go to the homepage, which is accessable to everyone. The issue is, the log in status control shows "Logout". how do I check if a user accesses the homepage, if they are logged in and if they are send them elsewhere. I've tried different codes, but not getting the result. Here is one code I tried...

[Code]....

View 4 Replies

Yetanotherforum Get Logged In Users Details?

Mar 8, 2011

I can get the logged in username from membership system:

// Get user details
var user = Membership.GetUser();
IsLoggedIn = (user != null);


But how do I get things like their avatar, user ID and the rest?

View 1 Replies

ASP MVC: Keeping Track Of Logged In Users?

Apr 22, 2010

I'm creating a ASP MVC application. And because of the complex authorization i'm trying to build my own login system. (So i'm not using asp membership providers, and related classes).Now i'm able to create new accounts in the database with hashed passwords.But how do i keep track that a user is logged in.Is generating a long random number and putting this with the userID in the database and cookie enough?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved