Find Jobs
Hire Freelancers

c# Class to provide license control for my site.

$30-250 USD

Kapalı
İlan edilme: neredeyse 8 yıl önce

$30-250 USD

Teslimde ödenir
I have a website, parts of which are subscription based. As part of the subscription license, a user is allowed to use the license on different devices (this is an important point in the user can for example update data on their computer at the office, and then have access to the data on their tablet/mobile while on site). I want to stop any possible abuse by a company purchasing a single license and giving the login details to all their employees. I would like a robust C# class written to provide the necessary control to achieve this. I will integrate the class into my site. This is my thinking on how to achieve the requirements, although I am fully open to any other suggestions. An MS sql server table contains the licensing details: name: mceLicences fields: LicenseID int identity, UserID int, NumberOfLicences, int Access to the database should be via LINQ to SQL ([login to view URL], [login to view URL], name DataClassesDataContext auto-generated). class. Single user access and security are already set up. I intend only to maintain the license table for larger clients who want multiple licenses. If a userID does not exist in the table, then it should be assumed he has only one license. My thought is to keep track of everything in session, with a timed expiration, say 5 minutes (although I suppose an SQL table is an option). A cookie gets created on the users device to identify the user and device (a guid for example). The class checks if the cookie exists, if not creates it. If the user and device are in the session, he is allowed to continue (with the session timeout refreshed). If not the number of number of devices the user is currently working on is retrieved. If the number of machines exceeds the number of licenses the user is flagged (set a LicenseExceeded property to false). If not in the session and number of licenses is not exceed the user/machine are added to the session The bidder needs to work out and verify the full logic. Typical class properties should be LicenseesAvailable, LicensesInUse, LicenseExceeded, etc. In the final implementation, I will get the user id server side from [login to view URL]().UserID; For development/testing, will need to simulate. I would also like to log to the database daily (24 hour) summaries. For each user which access the site in a day log: * userID * NumberOfDevicesUsed * MaximumNumberOfConcurrentDevices - for that day * NumberOfLicencesAvailable - on the day of the logging * LogDate The logging will enable me to plot usage per user over time (compared to their available licenses) and discuss with the client if the need to increase (or reduce) their current number of licenses. Initially, I will just log any overuse and deal directly with the user to resolve it. Later I may implement restrictions, where if example the LicenseExceeded property is true, the user is redirected to some page to deal block access. It is important that the above not interfere with the user experience on the site. Bidders should address this. The class should be fully commented/documented (so that I can understand, implement in my site and modify if necessary later) and follow Microsoft best practices. The above describes my intent and my initial thoughts on how to achieve this. If bidders can propose a better solution, I am open to looking at this.
Proje No: 10699973

Proje hakkında

8 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 8 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
8 freelancer bu proje için ortalama $341 USD teklif veriyor
Kullanıcı Avatarı
Hi, I am interested. Thanks narendra
$1.000 USD 30 gün içinde
4,8 (3 deÄŸerlendirme)
4,1
4,1
Kullanıcı Avatarı
Hello, I hope you doing very well! I have gone through the description and would like to provide a quality solution using my 5+ years of professional experience in required skills. (.NET/ASP.NET - MVC, EF, SQL, C#). Awaiting for your positive response so we can have final talk and start project immediately :)
$126 USD 3 gün içinde
5,0 (7 deÄŸerlendirme)
3,3
3,3
Kullanıcı Avatarı
i can do your job.
$388 USD 30 gün içinde
5,0 (1 deÄŸerlendirme)
0,9
0,9
Kullanıcı Avatarı
I am 5+ year experienced .net developers working as path time freelancers from last 5+ year, developing websites, window application. My main goal is to provide Life & Quality of work to IT within time. I am working on .net framework 2.0/3.0/3.5/4.0, SQL Server 2005/2008, i have developed many website in .NET, in 3-tier and MVC.
$155 USD 3 gün içinde
3,0 (1 deÄŸerlendirme)
1,6
1,6
Kullanıcı Avatarı
I am experienced in SQL and programming with c# for over 12 years and thus can handle the work easily. contact me if my skills match your requirement.
$500 USD 8 gün içinde
0,0 (0 deÄŸerlendirme)
0,0
0,0

Müşteri hakkında

   UNITED KINGDOM bayrağı
Wickford, United Kingdom
5,0
3
Ödeme yöntemi onaylandı
Şub 1, 2009 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.