We just finished the developng of fully functional role-based login system. The system provides access to different set of pages for users with different credentials. Microsoft provides number of standart web controls intended to help in implementation of such system. These controls make the implementation easier but they have some limitations. To improve the functionality we developed several custom data providers and procedure. The system can be used for any web site having restricted areas for registred members or administrators.