liveBook · Manning

Authorization

As explained in AI for Everyday IT

Access control is the restriction and management of who or what may access systems, data, or resources and which actions they may perform.

Access control restricts who or what may use a system, document, database, or file, and limits the actions permitted. In AI-powered applications, it prevents model-triggered functions from reaching data or resources beyond their intended scope. section 13.4.2 section 6.8

Apply access control through practical restrictions:

  • Run database functions with read-only accounts and limit file functions to specific directories. section 13.4.2
  • Require human review before AI functions reach sensitive data, and use only company-approved tools for sensitive documents. section 13.4.2 section 6.2
  • Record who initiated each function call and what data it accessed, then investigate unusual access attempts. section 13.4.2

A safer support-log workflow

A team needs to share customer support logs with an outside consultant. An approved enterprise anonymization tool processes the logs, while access controls limit the tool to the required files and prevent unauthorized data access. Staff test sample data, review edge cases, and verify the result before sharing it. section 6.8

Table 6.8 Document anonymization prompts
Scenario
Prompt
Database dumps
Change this database dump by replacing personal names, emails, and phone numbers with realistic fake data. Keep the field formats the same.
System logs
Process these system logs. Use placeholder IPs instead of real ones and change usernames/account IDs. Keep the structure and timestamps intact.
HR documents
Remove personal details from these HR documents. Use generic placeholders for employee names, Social Security numbers, and contact details. Keep job titles and departments as they are.
Financial reports
Clean up this financial report. Use generic IDs for account numbers and client names. Keep all financial figures and structure unchanged.
Medical records
Change these medical records for research use. Replace names, birth dates, and identifying details with coded IDs. Keep all medical conditions and treatments as they are.

Use the prompt patterns to plan controlled anonymization for database dumps, system logs, HR documents, financial reports, and medical records. section 6.8

How AI for Everyday IT covers it

How deep it goes
Explains implementation through least privilege, human review, auditing, and adversarial testing, without detailing authorization protocols.
Examples
Uses read-only databases, restricted directories, approved anonymization tools, support logs, and adversarial prompts as concrete cases.
What it assumes
Assumes basic awareness of databases, files, sensitive data, and company security approval processes.
What you can do after
Operate/configure AI functions with restricted permissions, human review, access logging, and tests for forbidden-data requests.
How it connects
Connects access control with input validation, output filtering, error handling, rate limiting, logging, data anonymization, and human oversight.

Also explained in

Compare how 28 books explain authorization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of AI for Everyday IT. The section links point to the parts of the book it draws on.