{"id":25135173,"url":"https://github.com/kimboslice99/odbcprovider","last_synced_at":"2025-04-03T02:15:20.929Z","repository":{"id":225546312,"uuid":"764909386","full_name":"kimboslice99/OdbcProvider","owner":"kimboslice99","description":"Odbc Membership Provider, Role Provider, and Profile Provider","archived":false,"fork":false,"pushed_at":"2025-01-09T05:10:15.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T16:18:33.475Z","etag":null,"topics":["csharp","iis","net"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kimboslice99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-28T23:35:04.000Z","updated_at":"2025-01-09T05:10:19.000Z","dependencies_parsed_at":"2024-03-02T20:27:47.519Z","dependency_job_id":"6663b95b-afb2-4153-97f9-f1d3d372ef8e","html_url":"https://github.com/kimboslice99/OdbcProvider","commit_stats":null,"previous_names":["kimboslice99/odbcprovider"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimboslice99%2FOdbcProvider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimboslice99%2FOdbcProvider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimboslice99%2FOdbcProvider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimboslice99%2FOdbcProvider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimboslice99","download_url":"https://codeload.github.com/kimboslice99/OdbcProvider/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922246,"owners_count":20855345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","iis","net"],"created_at":"2025-02-08T16:18:36.089Z","updated_at":"2025-04-03T02:15:20.897Z","avatar_url":"https://github.com/kimboslice99.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OdbcProvider for IIS\n- This was written so that IIS can use an Odbc connection instead of MSSQL for MembershipProvider, RoleProvider, and ProfileProvider\n\n## Setup\n- Build\n- Install to gac `gacutil /i OdbcProvider.dll`\n- create a database for your connection string\n- go through IIS dialogues to add a connection string (custom), personally I create a (system) DSN then just use `DSN=[dsnname]`\n- To use COM wrapper (convenient for scripting) `C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\regasm OdbcProvider.dll /codebase`\n- run `AddToTrustedProviders.ps1`\n- copy to bin folder of site\n- now you can add the Role and Membership providers, after this point you should be able to create users under the .Net Users page in IIS\n\n##\nif registering COM, here is an example of usage. currently not much is passed through the wrapper. more to come.\n```php\n\u003c?php\n$membershipCom = new COM('OdbcProvider.OdbcProviderWrapper');\n$membershipCom-\u003eSetConnectionString(\"DSN=YOUR_DSN\");\n$membershipCom-\u003eIsUserInRole($_SERVER['REMOTE_USER'], \"RoleName\"); // bool\n$membershipCom-\u003eValidateUser(\"username\", \"password\");\n$membershipCom-\u003eUnlockUser(\"username\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimboslice99%2Fodbcprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimboslice99%2Fodbcprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimboslice99%2Fodbcprovider/lists"}