1

Is this possible? Can I make a folder on my webserver named /gamelevels/ with .gamelevel extension, point a URL there and retrive all the .gamelevel files from there? Nothing like this seems to exist in java (googling/SO).

1 Answer 1

3

Some servers are configured to provide an HTML listing of contents when the URL of a directory is provided. If the server supplies that list, the client can parse the list for the contents.

It is considered a security hole for a server to provide that listing.

Sign up to request clarification or add additional context in comments.

2 Comments

It is just an issue of making our game as practical as possible and adding the ability to download new levels (very little time to be creative to create levels and artwork, most of it spent coding). I trust we will think about security at some point, if for no other reason than to learn.
"the ability to download new levels" Deploy the app. using Java Web Start. It can not unly install/update the game as needed, but you can declare new levels as a 'lazy' download and they will be automatically downloaded when needed. Very easy for the end user.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.