+ 4

Privare Code sharable links

Hey guys, Just wanted to know what happens if i have a private code and i share its link on the discussion forum or in a comment? Did it once and found that my code was private but now can be accessed by others through the link i shared. Ideally sharing links of private codes should not be allowed as it defeats the purpose. Either that or the code should become public once it is shared. What are your views on this?

15th Apr 2017, 5:20 AM
Shraddha
Shraddha - avatar
9 Answers
+ 16
Not a bug though. It's a feature. Putting it in private mode simply tells SoloLearn not to include your code in Code Playground display section and your profile code display section. You can still share them by link.
15th Apr 2017, 5:42 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
By sharing link of private codes, you disable their voting system ( thumb up/down ) ^^
15th Apr 2017, 6:17 AM
visph
visph - avatar
+ 6
@visph we can still like or dislike the code but are unable to comment on it. Check out @luca's code in the comment section here
15th Apr 2017, 6:20 AM
Shraddha
Shraddha - avatar
+ 6
@Shraddha: You're right... I checked before but not looking at the good place :P
15th Apr 2017, 6:27 AM
visph
visph - avatar
+ 5
Yes i can, n i liked it too lol 😂😂
15th Apr 2017, 5:29 AM
Shraddha
Shraddha - avatar
+ 5
True, but once you share a link anyone can use that link and get your code. So the code is no longer private. Don't you think that it should change to public / shared status? Because i may keep thinking that no one is looking at what i am coding but actually there are people who can access it.
15th Apr 2017, 5:36 AM
Shraddha
Shraddha - avatar
+ 5
@Klaus-Dieter's and @Hatsy Rei's opinion is convincing...
15th Apr 2017, 5:44 AM
Shraddha
Shraddha - avatar
+ 3
Private does not mean that the code is not accessible. It simply means that it is not linked and advertised in your profile. Once the link is published (in a discussion), anybody on this site can access it. Private just means that the hash used for the url cannot be guessed easily. This is somewhat similar to how Dropbox links work.
15th Apr 2017, 5:39 AM
Klaus-Dieter Warzecha
Klaus-Dieter Warzecha - avatar
+ 2
Remember that this is a learning site ;-) It is not a place to store patentable complex business logic, which you might want to keep on your own pc, in your own network, or in a private github repository. Anyway, if you don't share the link to your code on sololearn, the url isn't guessed easily and you are safe enough from peeking eyes. Once you have talked about it and shared the link, your only option to make it invisible again is to save the code under a different hash.
15th Apr 2017, 5:53 AM
Klaus-Dieter Warzecha
Klaus-Dieter Warzecha - avatar