How can I change the user access permission (read write mode for different user) using drupal and civicrm?
Assuming you are interested in CiviCRM permissions rather than Drupal content, take a look at the Hooks section in the Developer guide, specifically the Permission Hooks subsection.