What are the security implications of using autorun.inf to launch webpages on CD drives?

Using autorun.inf to launch webpages on CD drives can pose a security risk as it can potentially execute malicious code or scripts on the user's system without their consent. To mitigate this risk, it is recommended to disable autorun functionality for CD drives and manually launch webpages from the CD drive.

// Disable autorun functionality for CD drives
shell_exec("reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /t REG_DWORD /d 0x00000091 /f");