Solved

How do I set this up in ASPX?

Posted on 2013-06-18
1
188 Views
Last Modified: 2013-07-24
Hello Experts!

I am working with a developer and I think we are stumped, so here I am asking for help.  I have a website that requires that you log into it using your email address.  The website should be designed so that multiple orgs can use it.  The users are stratified into 3 categories per org.  (there is a super user who can see all, but thats a consideration for later)


Org 1
Read user  (read only)
Admin User (upload files for basic users)
Basic user

Org 2
Read user  (read only)
Admin User (upload files for basic users)
Basic user

The websites purpose is to store documents for the basic users.  I want a user for org 2 to be able to contact the admin user of to request access to org 1's documents, and for the admin user to be able to provide read only access for either the user specifically or the org.

So far we are stuck because some of the documents are generated via generic pages.  Is there a way so that the admin user can upload documents to a webpage that I can reference as a specific dynamic webpage for later?

ASPx is not my forte.  I need help with how to setup the rights and the webpages.  If this is better split as questions, let me know.  DB backend is SQL 2008

Fox
0
Comment
Question by:the_b1ackfox
1 Comment
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 39259332
As I understand your question, it sounds as if you need at least three things:
A table of users (which includes their user status, and what organization they belong to)
A table of documents (which includes the document or a link to the document, and which organization owns it, maybe a description, maybe some keywords to search on)
A joining table that lists which users have access to which documents

When a user tries to open a document, the system would determine the level of the user, which organization the user belonged to, and which organization the document belonged to. If the user were an admin user, and the document belonged to the admin's organization, the user would be granted access.  If the user were a basic user, the joining table would be consulted to determine if the user were allowed access to the document.  It's not clear from your description how read-only users work, so I'll leave that open.

How the users access documents would have to be an exercise for you.  Whether they pass in a document ID, or there's a table of contents, or some sort of keyword search would depend on how you see users interacting with your web site.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question