Click here to Skip to main content
Click here to Skip to main content

Simple but robust web based file management system including user authentication

By , 13 Jun 2006
 

Introduction

This article will present a fully functional ASP.NET web application file management system written in pure VB. It allows for user authentication (Forms authentication), and based off that authenticate to allow/disallow functions within the site. Functions include upload, delete, and view files along with the administrative routines. The user information can be stored in either a XML or a SQL database (SQL script is provided).

Screen Shots

User Login

User Login

File List

File List

User List

User List

Background

This application was designed to fulfill a baisc need while still demonstranting some key concepts including:

  • Inheritance (Base Page methodolgy)
  • Forms Authentication
  • TripleDES encryption/decryption
  • IPrinciple
  • Interfaces
  • Data Access
  • File Upload

How to install the application?

  • Download and unzip the source files
  • Setup as a web
  • Ensure the process identity has write access to the bin/FILES/ directory and also the bin/XML/ directory if you are using the XML database.
  • Browse the Default.aspx
  • (Optionally you can uncomment the SQL section of the web config appsettings and run the SQL script located in the DataAccess\SQL Scripts directory.
  • Login with the Admin userid (password is 'password' - suggest you change it)
  • Have fun :)

I've used a lot of samples from Code Project over the years and thought it was time to give something back.

Feel free to use the code, it is my gift to the community.

History

Let me know of any suggestions and or improvements you come up with.

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication

About the Author

carvic
United States United States
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralInformation Requiredmembersyedumairahmed19777 Feb '11 - 18:34 
Dear Carvic,
 
I cannot change the admin password. Where is the option? Another thing is that when we create new user and set different password it wouldn't accept at the time of login
GeneralInterestingmembermbaocha6 May '09 - 17:46 
Quite interesting. But i still beleive these could be achieved using drag and drop functionalities of vs2008.
 

 

 

 
__________________________________________________________________________________________
Cheap Affordable Web Hosting | Windows Linux PHP ASPX MYSQL Website Hosting | Best Web Design & Development Company
General:-: Handy :-:memberProgramm3r23 Oct '06 - 2:53 
Hi,
 
Thanx for the article, I'm sure it will be handy.
 

 
The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)
 
Smile | :) Programm3r

GeneralWelcomemembercarvic19 Jun '06 - 6:52 
Feel free to publish any comments and/or suggestions here. I will take the time to respond and/or update code
 
Carvic
QuestionRe: Welcomememberjth01d21 Aug '07 - 20:59 
Very nice app.
 
I did have a question. Is there a way to add multiple levels or groups of users to access certain areas or folders? The admin would still have full access. There could even be admin's for each group. Any thoughts?
 
thank you
 
J

AnswerRe: Welcomememberp05esto24 Dec '08 - 6:37 
That would be sweet. If the admin could specify which user has access to which directory that would be the ideal.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 13 Jun 2006
Article Copyright 2006 by carvic
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid