[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-671164-105":3,"detail-sidebar-cat-0-en-105":84,"doc-detail-671164-en":134,"doc-similar-671164":210},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":77,"head_meta":79,"extra_data":81,"updated_unix":83},105,"en","crunchy-data-postgres-16-security-technical-implementation-guide-version-1-rule-based-session-limitation-and-authentication-integration","Crunchy Data Postgres 16 Security Technical Implementation Guide - Version 1 - Rule-Based Session Limitation and Authentication Integration","","Security Technical Implementation Guide for Crunchy Data Postgres 16 (Version 1) detailing STIG requirements and how to harden PostgreSQL. Covers limiting concurrent sessions per user to reduce denial-of-service and overload risk, including configuration guidance and SQL checks for max_connections and per-role connection limits. Also addresses integrating PostgreSQL with an organization-level authentication/access mechanism with automated account, group, and role management, using centralized controls and alerting for inactive, suspended, or terminated users.",{"@graph":14,"@context":76},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/crunchy-data-postgres-16-security-technical-implementation-guide-version-1-rule-based-session-limitation-and-authentication-integration/671164/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/crunchy-data-postgres-16-security-technical-implementation-guide-version-1-rule-based-session-limitation-and-authentication-integration/671164.png","ImageObject",300,407,{"name":42,"@type":43},"cryingin4k","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-02","2026-11-01",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68,72],{"name":59,"@type":60,"acceptedAnswer":61},"How should PostgreSQL limit concurrent sessions per user?","Question",{"text":62,"@type":63},"It must be configured to restrict concurrent sessions to an organization-defined number per user for all accounts and/or account types, when technically feasible.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What SQL commands verify total and per-role connection limits?",{"text":67,"@type":63},"Total connections are checked via SHOW max_connections, and per-role limits are checked via a SELECT of rolname and rolconnlimit from pg_roles, excluding specific roles.",{"name":69,"@type":60,"acceptedAnswer":70},"When does the guide treat connection limit values as findings?",{"text":71,"@type":63},"If the configured total connections exceed the documented organizational maximum, or if any role’s rolconnlimit exceeds the documented limit, it is a finding; a rolconnlimit value of -1 indicating Unlimited is also a finding.",{"name":73,"@type":60,"acceptedAnswer":74},"What does PostgreSQL integration with an organization authentication mechanism require?",{"text":75,"@type":63},"It requires integration with an organization-level authentication/access mechanism that provides account management and automation for users, groups, roles, and other principals, reducing risk from manual account handling.","https://schema.org",{"og:url":32,"og:type":78,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":80,"canonical":32},"index,follow",{"doc_id":82,"site_id":7},671164,1793574571,{"code":4,"msg":85,"data":86},"success",[87,91,95,99,104,108,113,118,123,126,130],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},"Exam",70,"exam",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":101,"show_sort_weight":102,"slug":103},5,"Comic",60,"comic",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":106,"slug":107},6,50,"technology",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},7,"Healthcare",40,"healthcare",{"id":114,"doc_module":4,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},8,"Research & Report",30,"research-report",{"id":119,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":121,"slug":122},9,"Religion & Spirituality",20,"religion-spirituality",{"id":121,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":121,"slug":125},"World Cup","world-cup",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":127,"slug":129},10,"Lifestyle","lifestyle",{"id":131,"doc_module":4,"doc_module_name":25,"category_name":132,"show_sort_weight":100,"slug":133},19,"General","general",{"code":4,"msg":85,"data":135},{"doc_id":82,"user_id":136,"nickname":42,"user_avatar":137,"doc_module":4,"category_id":105,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":138,"file_id":139,"file_url":140,"file_type":141,"file_size":142,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":143,"language":144,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":145,"faqs":146,"seo_title":147,"seo_description":12,"update_tm":83,"read_time":148,"preview_page_count":149,"preview_urls":150},137458181193,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","UNCLASSIFIED  \nCrunchy Data Postgres 16 Security Technical  \nImplementation Guide Version: 1  \nRelease: 1  \n13 Jun 2024  \nXSL Release 1/25/2022 Sort by: STIGID  \nDescription: This Security Technical Implementation Guide is published as a tool to improve the security of Department of Defense (DOD) information systems. The requirements are derived from the National Institute of Standards and Technology (NIST) 800-53 and related documents. Comments or proposed revisions to this document should be sent via email to the following address: [disa.stig_spt@mail.mil](disa.stig_spt@mail.mil).  \nGroup ID (Vulid): V-261857  \nGroup Title: SRG-APP-000001-DB-000031  \nRule ID: SV-261857r1000976_rule  \nSeverity: CAT II  \nRule Version (STIG-ID): CD16-00-000100  \nRule Title: PostgreSQL must limit the number of concurrent sessions to an organization-deﬁned number per user for all accounts and/or account types.  \nVulnerability Discussion: Database management includes the ability to control the number of users and user sessions using PostgreSQL. Unlimited concurrent connections to PostgreSQL could allow a successful denial-ofservice (DoS) attack by exhausting connection resources; and a system can also fail or be degraded by an overload of legitimate users. Limiting the number of concurrent sessions per user is helpful in reducing these risks.  \nThis requirement addresses concurrent session control for a single account. It does not address concurrent sessions by a single user via multiple system accounts; and it does not deal with the total number of sessions across all accounts.  \nThe capability to limit the number of concurrent sessions per user must be conﬁgured in or added to PostgreSQL (for example, by use of a log on trigger), when this is technically feasible. Note that it is not sufﬁcient to limit sessions via a web server or application server alone, because legitimate users and adversaries can potentially connect to PostgreSQL by other means .  \nThe organization will need to deﬁne the maximum number of concurrent sessions by account type, by account, ora combination thereof. In deciding on the appropriate number, it is important to consider the work requirements of the various types of users. For example, two might be an acceptable limit for general users accessing the database via an application; but 10 might be too few for a database administrator using a database management GUI tool, where each query tab and navigation pane may count as a separate session.  \n(Sessions may also be referred to as connections or logons, which for the purposes of this requirement are synonyms) .  \nCheck Content:  \nTo check the total amount of connections allowed by the database, as the database administrator , run the following SQL:  \n$ sudo su-postgres  \n$ psql-c \"SHOW max_connections\"  \nIf the total amount of connections is greater than documented by an organization, this is a ﬁnding.  \nTo check the amount of connections allowed for each role, as the database administrator , run the following SQL:  \n$ sudo su-postgres  \n$ psql-c \"SELECT rolname, rolconnlimit FROM pg_roles  \nWHERE rolname NOT IN ('pg_database_owner','pg_read_all_data','pg_write_all_data','pg_monitor','pg_read_all_settings','pg_read_all_stats','pg_stat_scan_tables','pg_read_server_ ﬁles','pg_write_server_ ﬁles',  \n'pg_execute_server_program','pg_signal_backend','pg_checkpoint','pg_use_reserved_connections','pg_create_subscription');\"  \nIf any roles have more connections conﬁgured than documented, this is a ﬁnding. A value of \"-1\" indicates Unlimited and is a ﬁnding.  \nFix Text: Note: The following instructions use the PGDATA and PGVER environment variables. Refer to APPENDIX-F for instructions on conﬁguring PGDATA and APPENDIX-H for PGVER.  \nTo conﬁgure the maximum amount of connections allowed to the database, as the database administrator (shown here as \"postgres\") change the following in postgresql.conf (the value 10 is an example; set the value to suit local conditions):  \n$ sudo su-po","cbCaijP2QAMGK6GH","https://ap.wps.com/l/cbCaijP2QAMGK6GH","pdf",1479665,131,"English","# Rule ID SV-261857\n## Session and connection limiting requirements\n## SQL checks and findings logic\n## Configuration changes and restart steps\n# Rule ID SV-261858\n## Authentication/access integration requirements\n## Automated account management and alerts","[{\"question\":\"How should PostgreSQL limit concurrent sessions per user?\",\"answer\":\"It must be configured to restrict concurrent sessions to an organization-defined number per user for all accounts and/or account types, when technically feasible.\"},{\"question\":\"What SQL commands verify total and per-role connection limits?\",\"answer\":\"Total connections are checked via SHOW max_connections, and per-role limits are checked via a SELECT of rolname and rolconnlimit from pg_roles, excluding specific roles.\"},{\"question\":\"When does the guide treat connection limit values as findings?\",\"answer\":\"If the configured total connections exceed the documented organizational maximum, or if any role’s rolconnlimit exceeds the documented limit, it is a finding; a rolconnlimit value of -1 indicating Unlimited is also a finding.\"},{\"question\":\"What does PostgreSQL integration with an organization authentication mechanism require?\",\"answer\":\"It requires integration with an organization-level authentication/access mechanism that provides account management and automation for users, groups, roles, and other principals, reducing risk from manual account handling.\"}]","Crunchy Data Postgres 16 Security Technical Implementation Guide - Version 1 - Rule-Based Session Limitation and Authentication Integration | PDF",330,14,[151,155,159,163,167,171,175,179,183,187,191,196,201,206],{"page_no":22,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8424e5fb853e840d968830008d26d46d.webp",983,1272,{"page_no":26,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7f7ead3e30cb9e88c927d095d292bcde.webp",982,1270,{"page_no":30,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/80b9d7136305dbb18d3cf3bea28a2290.webp",981,1269,{"page_no":33,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e7fc907c12cebda58bacf4264b88226b.webp",980,1268,{"page_no":100,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8098efd103e40ce829672d626883fdc4.webp",979,1267,{"page_no":105,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/64effeaa1f13b4899322d323905bd8fe.webp",978,1265,{"page_no":109,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d32be016149c8346dd81522b5a0626d2.webp",977,1264,{"page_no":114,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/07c610b589757da3872cf66ea1964196.webp",976,1263,{"page_no":119,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0a66a42793be87b553952ad8f9ecc15f.webp",975,1261,{"page_no":127,"url":188,"width":189,"height":190},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6df1c7401e4761e4a23e1915ae29ca0b.webp",974,1260,{"page_no":192,"url":193,"width":194,"height":195},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5d56dc5bc4b22608c01b7bc1065db969.webp",973,1259,{"page_no":197,"url":198,"width":199,"height":200},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/79587df043a8f2b4ac519c6f3d8b91b1.webp",972,1257,{"page_no":202,"url":203,"width":204,"height":205},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e8e9109c942434bb50be655ece1c5d1a.webp",971,1256,{"page_no":149,"url":207,"width":208,"height":209},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c856eac28a96361ba85f8df33a748ee3.webp",970,1255,{"list":211,"token":11},[212,219,226,233,240,247,254,261,268,275],{"doc_id":213,"doc_title":214,"file_type":141,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":29,"create_tm":218},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=CxgGRGVzfPdvmh1S8iTT2Q8XsGs%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",951,1785472614,{"doc_id":220,"doc_title":221,"file_type":141,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":29,"create_tm":225},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=O%2FHm9adSA%2F8wtLJvl%2F0Zexezk9U%3D","xnx-universal-transmitter-installation-manual",865,1776135954,{"doc_id":227,"doc_title":228,"file_type":141,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":29,"create_tm":232},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=HDgCDqXNJoRxf%2FHQUa3GTItEqOA%3D","the-candlestick-trading-bible-trading-guide",821,1789767270,{"doc_id":234,"doc_title":235,"file_type":141,"home_preview_img_url":236,"slug":237,"view_count":238,"category_name":29,"create_tm":239},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=Eip%2Bt%2FWlsL%2BHBvS4wuU2tmVr3%2Fw%3D","free-fire-proxy-server",572,1776135932,{"doc_id":241,"doc_title":242,"file_type":141,"home_preview_img_url":243,"slug":244,"view_count":245,"category_name":29,"create_tm":246},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=u3v55fSE%2BF7QQHN%2Bbzf9YnsXdGU%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",501,1786012506,{"doc_id":248,"doc_title":249,"file_type":141,"home_preview_img_url":250,"slug":251,"view_count":252,"category_name":29,"create_tm":253},8566,"Trik Ngonten TikTok dari 0 Sampai FYP","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229696842324/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=FTR1SF578%2BiAZKYRF8dNcBSODjA%3D","tiktok-content-tricks-from-0-to-fyp",496,1776338393,{"doc_id":255,"doc_title":256,"file_type":141,"home_preview_img_url":257,"slug":258,"view_count":259,"category_name":29,"create_tm":260},387603,"Building Applications with AI Agents - Multiagent Systems - Designing and Implementing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229916172328/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=OWSxPX591%2FGuivMEe9y%2B2r%2Bi0Ns%3D","building-applications-with-ai-agents-multiagent-systems-designing-and-implementing",464,1790287169,{"doc_id":262,"doc_title":263,"file_type":141,"home_preview_img_url":264,"slug":265,"view_count":266,"category_name":29,"create_tm":267},14249,"EW 101: A First Course in Electronic Warfare","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229699258216/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=%2Ff0mM0QlH%2Bw5ah7vBPLOt9iHTwE%3D","ew-101-a-first-course-in-electronic-warfare",453,1776558348,{"doc_id":269,"doc_title":270,"file_type":141,"home_preview_img_url":271,"slug":272,"view_count":273,"category_name":29,"create_tm":274},238737,"Spectrum Channel List 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229894154298/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=ILqjXAz7MgS4TeGvGcLmkoqhGDM%3D","spectrum-channel-list-2026",452,1789139284,{"doc_id":22,"doc_title":276,"file_type":141,"home_preview_img_url":277,"slug":278,"view_count":279,"category_name":29,"create_tm":280},"WPS Office PDF Quick Start Guide: AI-Powered","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229689306536/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222279&Signature=W36%2BgvmMWdK2qAX0vn8uDukcqkk%3D","wps-office-pdf-quick-start-guide-ai-powered",372,1775804569]