# .NET -\> logic of building a system where laods of people might be on at the same time

**URL:** <https://forum.kirupa.com/t/net-logic-of-building-a-system-where-laods-of-people-might-be-on-at-the-same-time/279035>\
**Category:** programming\
**Created:** [January 8, 2009, 6:53pm UTC](https://forum.kirupa.com/t/net-logic-of-building-a-system-where-laods-of-people-might-be-on-at-the-same-time/279035 "2009-01-08T18:53:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_white](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mr\_white](https://forum.kirupa.com/u/mr_white)\
**Post date:** [January 8, 2009, 6:53pm UTC](https://forum.kirupa.com/t/net-logic-of-building-a-system-where-laods-of-people-might-be-on-at-the-same-time/279035/1 "2009-01-08T18:53:23Z")

</div>

Hello,

I’m building a web application which has Users and these Users have permission to access certain bits of the web app.

After a user logs on, according to it’s \*\*permissions \*\*which will be read from **permissions** table, he will see the bits of the app that he can access.

But to prevent hacking and so on, I need to check if the user has access to that page whenever a page is called on the web server.

If someone goes to for example “ **a.aspx** ”, I will check from the permissions table if that person has access or not.

But this means there will be a query to \*\*Permissions \*\*table each time a page is called.

Will it cause a problem regarding the web app? Will it give errors if more than one query is made at the same time to permissions table?

How can I prevent this?

Thank you.
