Security bug - sketches accessible to the world

p5js has a security bug where everyone can see my sketches by typing following url in browser https://editor.p5js.org/myusername/sketches

This makes it difficult to teach as my students have access to the answers to my practice assignments

Hello,

There is some related information here:

I would keep all solutions offline.

I do not use P5.js often but able to use it with P5.js mode in the Processing PDE (you need to update the *.js files to current ones) and as per instructions here.

You can expect to have students visit the forums and there is a homework policy here.

And discussion here:

:)

You can transfer them to some other online code host which offers that private project feature. :male_detective:

For example, when creating a repo or gist on GitHub we can choose if it is private or public: :octopus:

For paid options, OpenProcessing and CodePen are more fit to showcase sketches: :wink:
OpenProcessing.org/membership
CodePen.io/features/pro

3 Likes

I’ve seen feature requests for a private option, I am sure it will come. Until then, like @GoToLoop suggested, throw the solution up on a private gist or repo, maybe even in dropbox and only allow those with the link to view it.

Another option is to host the solution on the web editor and then delete it at the end of the semester.

2 Likes

Thank you for your reply. Switching to using processing IDE instead of p5js to conduct my classes. This way all my sketches can be offline. Plus i can teach coding in java and students learn how to use a modern IDE at the same time. I chose processing to introduce first time students to coding as the ouput is more tangible and less abstract. This pipes up the interest of the students especially children

1 Like