Click here to Skip to main content
15,881,568 members
Articles / Web Development / ASP.NET
Article

Simple but robust web based file management system including user authentication

Rate me:
Please Sign up or sign in to vote.
3.17/5 (5 votes)
13 Jun 2006Public Domain1 min read 46.5K   1.2K   41   7
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.

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
Questionfile management project Pin
AhmedHassan65014-Oct-13 3:34
AhmedHassan65014-Oct-13 3:34 
GeneralInformation Required Pin
syedumairahmed19777-Feb-11 18:34
syedumairahmed19777-Feb-11 18:34 
GeneralInteresting Pin
mbaocha6-May-09 17:46
mbaocha6-May-09 17:46 
General:-: Handy :-: Pin
Programm3r23-Oct-06 2:53
Programm3r23-Oct-06 2:53 
GeneralWelcome Pin
carvic19-Jun-06 6:52
carvic19-Jun-06 6:52 
QuestionRe: Welcome Pin
jth01d21-Aug-07 20:59
jth01d21-Aug-07 20:59 
AnswerRe: Welcome Pin
p05esto24-Dec-08 6:37
p05esto24-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    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.