A method, an apparatus, and computer instructions are provided for
device-dependent access control for device independent web content. In an
illustrative embodiment, a module may be implemented in a computer
program detects a client device and security level from a request for a
resource by a client device. The module loads, from a data source or
configuration file, a three-dimensional device dependent access control
matrix, which includes a user role axis, a device axis, and a resource
axis. Based on the security level of the device indicated by the device
matrix, the module grants or denies access to the resource by the user
device. The security levels may include security protocols implemented by
different devices, encryption schemes implemented by different devices,
and security patches applied by the same device.