{"id":2044,"date":"2026-06-17T07:02:03","date_gmt":"2026-06-17T07:02:03","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/"},"modified":"2026-07-25T14:16:57","modified_gmt":"2026-07-25T12:16:57","password":"","slug":"cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/","title":{"rendered":"Cum configurez un connection string pentru o conexiune criptat\u0103 cu serverul MSSQL?"},"content":{"rendered":"<p>Pentru criptarea comunic\u0103rii cu serverul MSSQL, folose\u0219te un connection string cu <code>encrypt=true<\/code>:<\/p>\n<pre>&lt;connectionStrings&gt;\n  &lt;add name=\"MyConnection\"\n    connectionString=\"Data Source=tcp:numeserver;Initial Catalog=DB_XXX_db1;User ID=DB1_user;Password=*****;encrypt=true\"\n    providerName=\"System.Data.SqlClient\" \/&gt;\n&lt;\/connectionStrings&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Pentru criptarea comunic\u0103rii cu serverul MSSQL, folose\u0219te un connection string cu encrypt=true: &lt;connectionStrings&gt; &lt;add name=&#8221;MyConnection&#8221; connectionString=&#8221;Data Source=tcp:numeserver;Initial Catalog=DB_XXX_db1;User ID=DB1_user;Password=*****;encrypt=true&#8221; providerName=&#8221;System.Data.SqlClient&#8221; \/&gt; &lt;\/connectionStrings&gt;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":1045,"footnotes":""},"doc_category":[191],"doc_tag":[227,345,392,245],"class_list":["post-2044","docs","type-docs","status-publish","hentry","doc_category-mssql","doc_tag-configurare","doc_tag-criptare","doc_tag-mssql","doc_tag-securitate"],"year_month":"2026-11","word_count":47,"total_views":"27","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Adrian Firican","author_nicename":"techeditor1","author_url":"https:\/\/www.hostx.ro\/kb\/author\/techeditor1\/"},"doc_category_info":[{"term_name":"MSSQL","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/mssql\/"}],"doc_tag_info":[{"term_name":"configurare","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/configurare\/"},{"term_name":"criptare","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/criptare\/"},{"term_name":"MSSQL","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/mssql\/"},{"term_name":"securitate","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/securitate\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Connection string MSSQL criptat - Configurare - Centrul de suport HostX<\/title>\n<meta name=\"description\" content=\"Configureaz\u0103 un connection string securizat pentru MSSQL cu criptare. Folose\u0219te encrypt=true pentru a proteja comunicarea cu serverul de baz\u0103 de date.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Connection string MSSQL criptat - Configurare - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"Configureaz\u0103 un connection string securizat pentru MSSQL cu criptare. Folose\u0219te encrypt=true pentru a proteja comunicarea cu serverul de baz\u0103 de date.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-25T12:16:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\\\/\",\"name\":\"Connection string MSSQL criptat - Configurare - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-17T07:02:03+00:00\",\"dateModified\":\"2026-07-25T12:16:57+00:00\",\"description\":\"Configureaz\u0103 un connection string securizat pentru MSSQL cu criptare. Folose\u0219te encrypt=true pentru a proteja comunicarea cu serverul de baz\u0103 de date.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cum configurez un connection string pentru o conexiune criptat\u0103 cu serverul MSSQL?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Connection string MSSQL criptat - Configurare - Centrul de suport HostX","description":"Configureaz\u0103 un connection string securizat pentru MSSQL cu criptare. Folose\u0219te encrypt=true pentru a proteja comunicarea cu serverul de baz\u0103 de date.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/","og_locale":"ro_RO","og_type":"article","og_title":"Connection string MSSQL criptat - Configurare - Centrul de suport HostX","og_description":"Configureaz\u0103 un connection string securizat pentru MSSQL cu criptare. Folose\u0219te encrypt=true pentru a proteja comunicarea cu serverul de baz\u0103 de date.","og_url":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-07-25T12:16:57+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/","url":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/","name":"Connection string MSSQL criptat - Configurare - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-06-17T07:02:03+00:00","dateModified":"2026-07-25T12:16:57+00:00","description":"Configureaz\u0103 un connection string securizat pentru MSSQL cu criptare. Folose\u0219te encrypt=true pentru a proteja comunicarea cu serverul de baz\u0103 de date.","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/cum-configurez-un-string-de-conectare-pentru-o-conexiune-criptata-cu-serverul-mssql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Cum configurez un connection string pentru o conexiune criptat\u0103 cu serverul MSSQL?"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=2044"}],"version-history":[{"count":2,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2044\/revisions"}],"predecessor-version":[{"id":4893,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2044\/revisions\/4893"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=2044"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=2044"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=2044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}