A
artificer
I want to create an Internet application that will be accessed by several
pre-registered companies. All of those companies will be accessing the same
database and the same application but each one of them will only access the
records that belong to their company. Another complication is that not all
user of a company will access all the forms or data of her company.
For example let's suppose that the web application is call Web1 and will be
accessed by Company1 and Company2. Web1 have 2 Web Forms WForm1 and WForm2.
Company1 have two users User1 and User2. Company2 also have two users named
User3 and User4.
User1 and User3 will be able to open WForm1 and WFrom2 but users User2 and
User4 only will access WForm1. WForm1 and WForm2 are forms containing
updatable grids. They get their data from Table1 and Table2 respectively.
When a user opens any of the web form she will be able to modify and read
only the information contained in the corresponding table and only the
records corresponding to the company that the user belongs to. Any
suggestion about how to write this kind of application taking advantage of
the Membership Services in ASP.NET 2.0?
pre-registered companies. All of those companies will be accessing the same
database and the same application but each one of them will only access the
records that belong to their company. Another complication is that not all
user of a company will access all the forms or data of her company.
For example let's suppose that the web application is call Web1 and will be
accessed by Company1 and Company2. Web1 have 2 Web Forms WForm1 and WForm2.
Company1 have two users User1 and User2. Company2 also have two users named
User3 and User4.
User1 and User3 will be able to open WForm1 and WFrom2 but users User2 and
User4 only will access WForm1. WForm1 and WForm2 are forms containing
updatable grids. They get their data from Table1 and Table2 respectively.
When a user opens any of the web form she will be able to modify and read
only the information contained in the corresponding table and only the
records corresponding to the company that the user belongs to. Any
suggestion about how to write this kind of application taking advantage of
the Membership Services in ASP.NET 2.0?