কোডের স্ক্যানের ভিত্তিতে অ্যাপস স্ক্রিপ্ট স্বয়ংক্রিয়ভাবে অনুমোদনের সুযোগ (যেমন আপনার Google পত্রক ফাইল বা Gmail অ্যাক্সেস) নির্ধারণ করে। যে কোডটি মন্তব্য করা হয়েছে তা এখনও একটি অনুমোদনের অনুরোধ তৈরি করতে পারে। যদি একটি স্ক্রিপ্টের অনুমোদনের প্রয়োজন হয়, আপনি এটি চালানোর সময় এখানে দেখানো অনুমোদনের ডায়ালগগুলির একটি দেখতে পাবেন৷
আপনি পূর্বে অনুমোদিত স্ক্রিপ্টগুলি অতিরিক্ত অনুমোদনের জন্য জিজ্ঞাসা করে যদি একটি কোড পরিবর্তন নতুন পরিষেবা যোগ করে। আপনি যদি স্ক্রিপ্টের মালিকের ব্যবহারকারী পরিচয়ের অধীনে চলে এমন একটি ওয়েব অ্যাপ হিসাবে স্ক্রিপ্ট অ্যাক্সেস করেন তবে স্ক্রিপ্টগুলি অনুমোদনের অনুরোধ করতে পারে না৷
প্রবেশাধিকার প্রত্যাহার
আপনার ডেটাতে একটি স্ক্রিপ্টের অ্যাক্সেস প্রত্যাহার করতে, এই পদক্ষেপগুলি অনুসরণ করুন:
আপনার Google অ্যাকাউন্টের অনুমতি পৃষ্ঠাতে যান। (ভবিষ্যতে এই পৃষ্ঠায় নেভিগেট করতে, Google.com-এ যান, তারপরে স্ক্রিনের উপরের-ডানদিকে আপনার অ্যাকাউন্টের ছবিতে ক্লিক করুন। এরপরে, আমার অ্যাকাউন্টে ক্লিক করুন, তারপরে "সাইন-ইন এবং নিরাপত্তা" বিভাগের অধীনে সংযুক্ত অ্যাপস এবং সাইটগুলি , এবং তারপরে অ্যাপগুলি পরিচালনা করুন ।)
স্ক্রিপ্টের নামে ক্লিক করুন যার অনুমোদন আপনি প্রত্যাহার করতে চান, তারপরে ডানদিকে সরান ক্লিক করুন, তারপর ফলাফল ডায়ালগে ঠিক আছে ।
অনুমতি এবং স্ক্রিপ্টের ধরন
একটি স্ক্রিপ্ট যে ব্যবহারকারীর পরিচয় দিয়ে চালিত হয় — এবং এইভাবে এটি যে ডেটা অ্যাক্সেস করতে পারে — স্ক্রিপ্টটি চালানো হয় তার উপর ভিত্তি করে পরিবর্তিত হয়, যেমনটি নীচের সারণীতে দেখানো হয়েছে।
পত্রক, ডক্স, স্লাইড এবং ফর্মের জন্য ম্যানুয়াল অনুমোদনের সুযোগ
আপনি যদি স্প্রেডশীট পরিষেবা , নথি পরিষেবা , স্লাইড পরিষেবা বা ফর্ম পরিষেবা ব্যবহার করে এমন একটি অ্যাড-অন বা অন্য স্ক্রিপ্ট তৈরি করছেন, তাহলে ব্যবহারকারীর সমস্ত স্প্রেডশীট, নথি বা ফর্মের পরিবর্তে আপনি অনুমোদন ডায়ালগকে শুধুমাত্র সেই ফাইলগুলিতে অ্যাক্সেসের জন্য জিজ্ঞাসা করতে বাধ্য করতে পারেন যেখানে অ্যাড-অন বা স্ক্রিপ্ট ব্যবহার করা হয়৷ এটি করতে, একটি ফাইল-স্তরের মন্তব্যে নিম্নলিখিত JsDoc টীকা অন্তর্ভুক্ত করুন:
/***@OnlyCurrentDoc*/
একটি বিরোধী টীকা, @NotOnlyCurrentDoc , উপলব্ধ হয় যদি আপনার স্ক্রিপ্টে এমন একটি লাইব্রেরি অন্তর্ভুক্ত থাকে যা @OnlyCurrentDoc ঘোষণা করে, কিন্তু মাস্টার স্ক্রিপ্টের জন্য প্রকৃতপক্ষে বর্তমান ফাইলের চেয়ে বেশি অ্যাক্সেসের প্রয়োজন হয়।
অ্যাড-অনগুলির জন্য অনুমোদনের জীবনচক্র
Google পত্রক, ডক্স, স্লাইড এবং ফর্মগুলির অ্যাড-অনগুলি সাধারণত একটি নথিতে আবদ্ধ স্ক্রিপ্টগুলির মতো একই অনুমোদনের মডেল অনুসরণ করে৷ কিছু নির্দিষ্ট পরিস্থিতিতে, তবে, তাদের onOpen(e) এবং onEdit(e) ফাংশনগুলি একটি অ-অনুমোদন মোডে চলে যা কিছু অতিরিক্ত জটিলতা উপস্থাপন করে। আরও তথ্যের জন্য, অ্যাড-অন অনুমোদনের জীবনচক্রের নির্দেশিকা দেখুন।
OAuth অ্যাপ্লিকেশন ব্যবহারকারীর সীমা
অ্যাপস স্ক্রিপ্ট প্রকল্প সহ Google ব্যবহারকারীর ডেটা অ্যাক্সেস করতে OAuth ব্যবহার করে এমন অ্যাপ্লিকেশনগুলি অনুমোদনের সীমার সাপেক্ষে। বিস্তারিত জানার জন্য OAuth অ্যাপ্লিকেশন ব্যবহারকারীর সীমা দেখুন।
Apps স্ক্রিপ্ট সহ পুনরায় প্রমাণীকরণ আচরণ
অ্যাপস স্ক্রিপ্ট আপনার Google ক্লাউড পরিষেবা সেটিংসে কনফিগার করা পুনরায় প্রমাণীকরণ ফ্রিকোয়েন্সি প্রয়োগ করে না। এর কারণ হল অ্যাপস স্ক্রিপ্ট ট্রিগার ব্যবহার করে স্বয়ংক্রিয়ভাবে চলতে পারে, যা সরাসরি ব্যবহারকারীর ইন্টারঅ্যাকশন ছাড়াই কাজ করে। এই স্বয়ংক্রিয় মৃত্যুদন্ডগুলি পুনরায় প্রমাণীকরণ প্রম্পটগুলিকে ট্রিগার করে না। আপনার অ্যাপ্লিকেশান স্ক্রিপ্ট অ্যাপ্লিকেশন স্বয়ংক্রিয়ভাবে আপনাকে নির্দিষ্ট সময়ের পরে পুনরায় প্রমাণীকরণ করতে বলবে না (উদাহরণস্বরূপ, 12 ঘন্টা)।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-19 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eApps Script requires user authorization to access private data from Google services, and requests are based on code analysis.\u003c/p\u003e\n"],["\u003cp\u003eUsers can revoke a script's access to their data through their Google Account permissions settings.\u003c/p\u003e\n"],["\u003cp\u003eA script's access level and the user it runs as depends on the type of script and how it's executed, like standalone, add-on, or web app.\u003c/p\u003e\n"],["\u003cp\u003eFor scripts interacting with Google Workspace files, specific annotations can limit authorization requests to the current file only.\u003c/p\u003e\n"],["\u003cp\u003eAdd-ons generally adhere to the authorization model of bound scripts, with exceptions for certain functions and circumstances.\u003c/p\u003e\n"]]],[],null,["Apps Script requires user authorization to access private data from\n[built-in Google services](/apps-script/guides/services) or\n[advanced Google services](/apps-script/guides/services/advanced).\n\nGranting access rights \n\nApps Script determines the authorization scopes (like access your Google Sheets\nfiles or Gmail) automatically, based on a scan of the code. Code that is\ncommented out can still generate an authorization request. If a script needs\nauthorization, you'll see one of the authorization dialogs shown here when it is\nrun.\n\nScripts that you have previously authorized also ask for additional\nauthorization if a code change adds new services. Scripts may not request\nauthorization if you access the script as a web app that runs under\n[the script owner's user identity](/apps-script/execution_web_apps#permissions).\n| **Warning:** Web apps and other scripts that use sensitive scopes are subject to review by Google. Users attempting to authorize such apps may see a warning screen saying the app is *unverified* by Google. See [OAuth client verification](/apps-script/guides/client-verification) for details.\n\nRevoking access rights\n\nTo revoke a script's access to your data, follow these steps:\n\n1. Visit the [permissions](https://security.google.com/settings/security/permissions) page for your Google account. (To navigate to this page in the future, visit [Google.com](https://www.google.com), then click your account picture in the top-right corner of the screen. Next, click **My Account** , then **Connected apps \\& sites** under the \"Sign-in \\& security\" section, and then **Manage Apps**.)\n2. Click the name of the script whose authorization you want to revoke, then click **Remove** on the right, then **OK** in the resulting dialog.\n\nPermissions and types of scripts\n\nThe user identity that a script runs with --- and thus the data it can access ---\nvaries based on the scenario in which the script is run, as shown in the table\nbelow.\n\n| Type of script | Script runs as... |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Standalone](/apps-script/execution_script_editor), [add-on](/workspace/add-ons/overview), or [bound to Docs, Sheets, Slides, or Forms](/apps-script/guides/bound) | User at the keyboard |\n| [Custom function in a spreadsheet](/apps-script/execution_custom_functions) | [Anonymous user](/apps-script/execution_custom_functions#permissions); however, [quota limits](/apps-script/guides/services/quotas) count against user at the keyboard |\n| [Web app](/apps-script/execution_web_apps) or [Google Sites gadget](/apps-script/execution_gadgets) | User at the keyboard or script owner, dependent on [options selected](/apps-script/execution_web_apps#permissions) when deploying the app |\n| [Installable trigger](/apps-script/understanding_triggers#Installable) | User who created the trigger |\n\nManual authorization scopes for Sheets, Docs, Slides, and Forms\n\nIf you're building an [add-on](/workspace/add-ons/overview) or other script that\nuses the [Spreadsheet service](/apps-script/reference/spreadsheet),\n[Document service](/apps-script/reference/document),\n[Slides service](/apps-script/reference/slides), or\n[Forms service](/apps-script/reference/forms), you can force the authorization\ndialog to ask only for access to files in which the add-on or script is used,\nrather than all of a user's spreadsheets, documents, or forms. To do so, include\nthe following [JsDoc](https://jsdoc.app/) annotation in a file-level comment: \n\n /**\n * @OnlyCurrentDoc\n */\n\nAn opposing annotation, `@NotOnlyCurrentDoc`, is available if your script\nincludes a [library](/apps-script/guides/libraries) that declares\n`@OnlyCurrentDoc`, but the master script actually requires access to more than\nthe current file.\n\nAuthorization lifecycle for add-ons\n\n[Add-ons](/workspace/add-ons/overview) for Google Sheets, Docs, Slides, and Forms\ngenerally follow the same authorization model as scripts that are\n[bound](/apps-script/guides/bound) to a document. In certain\ncircumstances, however, their `onOpen(e)` and `onEdit(e)` functions run in a\nno-authorization mode that presents some additional complications. For more\ninformation, see the\n[guide to the add-ons authorization lifecycle](/workspace/add-ons/concepts/addon-authorization#editor_add-on_authorization).\n\nOAuth application user limits\n\nApplications that use OAuth to access Google user data, including Apps\nScript projects, are subject to authorization limits. See\n[OAuth application user limits](https://support.google.com/cloud/answer/9028764)\nfor details."]]